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
Pipeline #13229 passed with stages
in 10 minutes and 57 seconds
......@@ -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)
# here, we ensure no email was sent
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment