diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2022-01-13 10:45:28 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-13 10:45:28 -0500 |
commit | 0c40c619aa8c8240ab75970e195fe73695df978b (patch) | |
tree | ea03bc33f7e565d991315efbc9e3bfed49109712 /tests | |
parent | Simplify GC prometheus metrics (#11723) (diff) | |
download | synapse-0c40c619aa8c8240ab75970e195fe73695df978b.tar.xz |
Include bundled aggregations in the sync response cache. (#11659)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/rest/client/test_relations.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/rest/client/test_relations.py b/tests/rest/client/test_relations.py index ff4e81d069..ee26751430 100644 --- a/tests/rest/client/test_relations.py +++ b/tests/rest/client/test_relations.py @@ -572,11 +572,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. |