summary refs log tree commit diff
path: root/tests/rest
diff options
context:
space:
mode:
authorDirk Klimpel <5740567+dklimpel@users.noreply.github.com>2021-12-08 17:59:40 +0100
committerGitHub <noreply@github.com>2021-12-08 16:59:40 +0000
commit7ecaa3b976b04dc5b2c6786aa18845016b80dd01 (patch)
treeb66e9caab3e56bbca80b2526322e92b616a292c0 /tests/rest
parentDocument the usage of refresh tokens. (#11427) (diff)
downloadsynapse-7ecaa3b976b04dc5b2c6786aa18845016b80dd01.tar.xz
Clean up `synapse.rest.admin` (#11535)
Diffstat (limited to 'tests/rest')
-rw-r--r--tests/rest/admin/test_statistics.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rest/admin/test_statistics.py b/tests/rest/admin/test_statistics.py
index 7cb8ec57ba..f6e85fdaad 100644
--- a/tests/rest/admin/test_statistics.py
+++ b/tests/rest/admin/test_statistics.py
@@ -92,7 +92,7 @@ class UserMediaStatisticsTestCase(unittest.HomeserverTestCase):
             channel.code,
             msg=channel.json_body,
         )
-        self.assertEqual(Codes.INVALID_PARAM, channel.json_body["errcode"])
+        self.assertEqual(Codes.UNKNOWN, channel.json_body["errcode"])
 
         # negative from
         channel = self.make_request(