summary refs log tree commit diff
path: root/tests/rest/test_events.py
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-08-27 11:33:56 +0100
committerKegan Dougal <kegan@matrix.org>2014-08-27 11:33:56 +0100
commitdd661769e1846b627d26203f6ca7936e0820d93c (patch)
tree874a737fba65d5c8e515e9fa93ff7707dcff9a97 /tests/rest/test_events.py
parentAdded support for GET /events/$eventid with auth checks. (diff)
downloadsynapse-dd661769e1846b627d26203f6ca7936e0820d93c.tar.xz
Renamed /rooms to /createRoom. Removed ability to PUT raw room IDs, and removed tests which tested that. Updated cmdclient and webclient.
Diffstat (limited to 'tests/rest/test_events.py')
-rw-r--r--tests/rest/test_events.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/rest/test_events.py b/tests/rest/test_events.py
index 7bc05dc2b6..94ad8910e3 100644
--- a/tests/rest/test_events.py
+++ b/tests/rest/test_events.py
@@ -178,9 +178,8 @@ class EventStreamPermissionsTestCase(RestTestCase):
 
     @defer.inlineCallbacks
     def test_stream_room_permissions(self):
-        room_id = "!rid1:test"
-        yield self.create_room_as(room_id, self.other_user,
-                                  tok=self.other_token)
+        room_id = yield self.create_room_as(self.other_user,
+                                            tok=self.other_token)
         yield self.send(room_id, tok=self.other_token)
 
         # invited to room (expect no content for room)