summary refs log tree commit diff
path: root/tests/rest
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <paul@matrix.org>2014-11-10 19:02:19 +0000
committerPaul "LeoNerd" Evans <paul@matrix.org>2014-11-10 19:02:19 +0000
commit269f80bf8ecc4a89c2bb71f0872893bb53a252ca (patch)
tree5fd5bae78cabeec6604ffa6b0c0d76ac81774b8a /tests/rest
parentInitial (empty) test that room initialSync at least returns 200 OK (diff)
downloadsynapse-269f80bf8ecc4a89c2bb71f0872893bb53a252ca.tar.xz
Have room initialSync return the room's room_id
Diffstat (limited to 'tests/rest')
-rw-r--r--tests/rest/test_rooms.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/rest/test_rooms.py b/tests/rest/test_rooms.py
index 69dade4548..129f4d49f4 100644
--- a/tests/rest/test_rooms.py
+++ b/tests/rest/test_rooms.py
@@ -993,6 +993,8 @@ class RoomInitialSyncTestCase(RestTestCase):
                 "/rooms/%s/initialSync" % self.room_id)
         self.assertEquals(200, code)
 
+        self.assertEquals(self.room_id, response["room_id"])
+
 #        (code, response) = yield self.mock_resource.trigger("GET", path, None)
 #        self.assertEquals(200, code, msg=str(response))
 #        self.assert_dict(json.loads(content), response)