From 85650a20473f7994e5bf717189972a41fdeef949 Mon Sep 17 00:00:00 2001
From: Nitai Bezerra da Silva <nitaibezerra@protonmail.com>
Date: Sat, 9 Jan 2021 16:29:41 +0100
Subject: [PATCH] docs(contributing.rst): fix parameter value in example test
 code

The value must be False according to the case test.
---
 CONTRIBUTING.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst
index cd91dda671..83ff1b0515 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
-- 
GitLab