summary refs log tree commit diff
path: root/tests/rest
diff options
context:
space:
mode:
authorSpiritCroc <dev@spiritcroc.de>2024-03-21 19:43:07 +0100
committerGitHub <noreply@github.com>2024-03-21 18:43:07 +0000
commit9ad49e7ecf2fb489fb66445b9aed8489ee8f2a6d (patch)
tree65914a111b878f902eb3cb8cc2e5056a568bbd61 /tests/rest
parentFix reject knocks on deactivating account (#17010) (diff)
downloadsynapse-9ad49e7ecf2fb489fb66445b9aed8489ee8f2a6d.tar.xz
Do not refuse to set read_marker if previous event_id is in wrong room (#16990)
Diffstat (limited to 'tests/rest')
-rw-r--r--tests/rest/client/test_read_marker.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/rest/client/test_read_marker.py b/tests/rest/client/test_read_marker.py
index 2fe350e1e8..0b4ad685b3 100644
--- a/tests/rest/client/test_read_marker.py
+++ b/tests/rest/client/test_read_marker.py
@@ -78,7 +78,7 @@ class ReadMarkerTestCase(unittest.HomeserverTestCase):
 
         channel = self.make_request(
             "POST",
-            "/rooms/!abc:beep/read_markers",
+            f"/rooms/{room_id}/read_markers",
             content={
                 "m.fully_read": event_id_1,
             },
@@ -90,7 +90,7 @@ class ReadMarkerTestCase(unittest.HomeserverTestCase):
         event_id_2 = send_message()
         channel = self.make_request(
             "POST",
-            "/rooms/!abc:beep/read_markers",
+            f"/rooms/{room_id}/read_markers",
             content={
                 "m.fully_read": event_id_2,
             },
@@ -123,7 +123,7 @@ class ReadMarkerTestCase(unittest.HomeserverTestCase):
 
         channel = self.make_request(
             "POST",
-            "/rooms/!abc:beep/read_markers",
+            f"/rooms/{room_id}/read_markers",
             content={
                 "m.fully_read": event_id_1,
             },
@@ -142,7 +142,7 @@ class ReadMarkerTestCase(unittest.HomeserverTestCase):
         event_id_2 = send_message()
         channel = self.make_request(
             "POST",
-            "/rooms/!abc:beep/read_markers",
+            f"/rooms/{room_id}/read_markers",
             content={
                 "m.fully_read": event_id_2,
             },