summary refs log tree commit diff
path: root/tests/rest/client
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2022-01-13 10:45:28 -0500
committerGitHub <noreply@github.com>2022-01-13 10:45:28 -0500
commit0c40c619aa8c8240ab75970e195fe73695df978b (patch)
treeea03bc33f7e565d991315efbc9e3bfed49109712 /tests/rest/client
parentSimplify GC prometheus metrics (#11723) (diff)
downloadsynapse-0c40c619aa8c8240ab75970e195fe73695df978b.tar.xz
Include bundled aggregations in the sync response cache. (#11659)
Diffstat (limited to 'tests/rest/client')
-rw-r--r--tests/rest/client/test_relations.py10
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.