Require the 'from' parameter for /notifications be an integer (#17283)

Co-authored-by: Erik Johnston <erikj@element.io>
This commit is contained in:
Andrew Morgan
2024-06-19 10:05:39 +01:00
committed by GitHub
co-authored by Erik Johnston
parent 199223062a
commit afaf2d9388
5 changed files with 173 additions and 21 deletions
+1 -1
View File
@@ -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)