diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index cd91dda6717e3fb62595125f33a73c87626eece5..83ff1b051515f1b2060f5dc08b45314f2744fcb9 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -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