summary refs log tree commit diff
path: root/tests/rest/admin/test_background_updates.py
diff options
context:
space:
mode:
authorDirk Klimpel <5740567+dklimpel@users.noreply.github.com>2021-11-30 10:53:54 +0100
committerGitHub <noreply@github.com>2021-11-30 09:53:54 +0000
commit35b1900f00b77e754efb909eae0a2f0c94e968cb (patch)
tree35e03b6ec428d0fad626f031bdc33c58920bf3c7 /tests/rest/admin/test_background_updates.py
parentConvert status codes to `HTTPStatus` in `synapse.rest.admin` (#11452) (diff)
downloadsynapse-35b1900f00b77e754efb909eae0a2f0c94e968cb.tar.xz
Convert status codes to `HTTPStatus` in `tests.rest.admin` (#11455)
Diffstat (limited to 'tests/rest/admin/test_background_updates.py')
-rw-r--r--tests/rest/admin/test_background_updates.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rest/admin/test_background_updates.py b/tests/rest/admin/test_background_updates.py
index 62f242baf6..a5423af652 100644
--- a/tests/rest/admin/test_background_updates.py
+++ b/tests/rest/admin/test_background_updates.py
@@ -46,7 +46,7 @@ class BackgroundUpdatesTestCase(unittest.HomeserverTestCase):
     )
     def test_requester_is_no_admin(self, method: str, url: str):
         """
-        If the user is not a server admin, an error 403 is returned.
+        If the user is not a server admin, an error HTTPStatus.FORBIDDEN is returned.
         """
 
         self.register_user("user", "pass", admin=False)