mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-14 00:25:26 -04:00
Merge remote-tracking branch 'origin/release-v1.49' into develop
This commit is contained in:
commit
8e4083e2f6
3 changed files with 15 additions and 6 deletions
|
@ -577,11 +577,11 @@ class RelationsTestCase(unittest.HomeserverTestCase):
|
|||
assert_bundle(channel.json_body["event"]["unsigned"].get("m.relations"))
|
||||
|
||||
# Request sync.
|
||||
channel = self.make_request("GET", "/sync", access_token=self.user_token)
|
||||
self.assertEquals(200, channel.code, channel.json_body)
|
||||
room_timeline = channel.json_body["rooms"]["join"][self.room]["timeline"]
|
||||
self.assertTrue(room_timeline["limited"])
|
||||
_find_and_assert_event(room_timeline["events"])
|
||||
# channel = self.make_request("GET", "/sync", access_token=self.user_token)
|
||||
# self.assertEquals(200, channel.code, channel.json_body)
|
||||
# room_timeline = channel.json_body["rooms"]["join"][self.room]["timeline"]
|
||||
# self.assertTrue(room_timeline["limited"])
|
||||
# _find_and_assert_event(room_timeline["events"])
|
||||
|
||||
# Note that /relations is tested separately in test_aggregation_get_event_for_thread
|
||||
# since it needs different data configured.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue