mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-03 09:39:18 +02:00
docs(contributing.rst): fix parameter value in example test code
The value must be False according to the case test.
This commit is contained in:
parent
94d4adc8e2
commit
85650a2047
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue