Skip to content
Snippets Groups Projects
Commit 3e62f8b3 authored by Agate's avatar Agate 💬
Browse files

Merge branch 'patch-1' into 'develop'

docs(contributing.rst): fix parameter value in example test code

See merge request funkwhale/funkwhale!1261
parents 7164248e 85650a20
No related branches found
No related tags found
No related merge requests found
......@@ -687,7 +687,7 @@ useful when testing components that depend on each other:
def test_downgrade_not_superuser_skips_email(factories, mocker):
mocked_notify = mocker.patch('funkwhale_api.myapp.notifications.notify')
user = factories['users.User'](is_superuser=True)
user = factories['users.User'](is_superuser=False)
users.downgrade_user(user)
# here, we ensure no email was sent
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment