summary refs log tree commit diff
path: root/tests/module_api/test_api.py
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2024-06-19 10:05:39 +0100
committerGitHub <noreply@github.com>2024-06-19 10:05:39 +0100
commitafaf2d9388f7012d0500932dad0af4bdb8d40d20 (patch)
tree621d39333de8ad990945a1fe5cd40a635bafa03a /tests/module_api/test_api.py
parentRevert "Support MSC3916 by adding a federation `/download` endpoint" (#17325) (diff)
downloadsynapse-afaf2d9388f7012d0500932dad0af4bdb8d40d20.tar.xz
Require the 'from' parameter for `/notifications` be an integer (#17283)
Co-authored-by: Erik Johnston <erikj@element.io>
Diffstat (limited to 'tests/module_api/test_api.py')
-rw-r--r--tests/module_api/test_api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/module_api/test_api.py b/tests/module_api/test_api.py
index 5eb1406a06..b6ba472d7d 100644
--- a/tests/module_api/test_api.py
+++ b/tests/module_api/test_api.py
@@ -688,7 +688,7 @@ class ModuleApiTestCase(BaseModuleApiTestCase):
 
         channel = self.make_request(
             "GET",
-            "/notifications?from=",
+            "/notifications",
             access_token=tok,
         )
         self.assertEqual(channel.code, 200, channel.result)