summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <paul@matrix.org>2014-11-10 19:34:47 +0000
committerPaul "LeoNerd" Evans <paul@matrix.org>2014-11-10 19:34:47 +0000
commitc23afed39a3a2796a53caaec19de2d53873956e5 (patch)
treed0d42105f6401cfb78afbfacc8907d6d1f92c980 /tests
parentPut room state in room initialSync output - I guess this is right; I really c... (diff)
downloadsynapse-c23afed39a3a2796a53caaec19de2d53873956e5.tar.xz
Include room membership in room initialSync
Diffstat (limited to 'tests')
-rw-r--r--tests/rest/test_rooms.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/rest/test_rooms.py b/tests/rest/test_rooms.py
index 1e8b16c36a..29f5776f49 100644
--- a/tests/rest/test_rooms.py
+++ b/tests/rest/test_rooms.py
@@ -1017,6 +1017,7 @@ class RoomInitialSyncTestCase(RestTestCase):
         self.assertEquals(200, code)
 
         self.assertEquals(self.room_id, response["room_id"])
+        self.assertEquals("join", response["membership"])
 
         # Room state is easier to assert on if we unpack it into a dict
         state = {}