Commit 85650a20 authored by nitaibs's avatar nitaibs
Browse files

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

The value must be False according to the case test.
parent 94d4adc8
......@@ -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