Skip to content
Snippets Groups Projects
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
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