diff options
author | SpiritCroc <dev@spiritcroc.de> | 2024-03-21 19:43:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-21 18:43:07 +0000 |
commit | 9ad49e7ecf2fb489fb66445b9aed8489ee8f2a6d (patch) | |
tree | 65914a111b878f902eb3cb8cc2e5056a568bbd61 /tests | |
parent | Fix reject knocks on deactivating account (#17010) (diff) | |
download | synapse-9ad49e7ecf2fb489fb66445b9aed8489ee8f2a6d.tar.xz |
Do not refuse to set read_marker if previous event_id is in wrong room (#16990)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/rest/client/test_read_marker.py | 8 |
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, }, |