summary refs log tree commit diff
path: root/tests/rest/test_rooms.py
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2015-01-07 16:12:14 +0000
committerKegan Dougal <kegan@matrix.org>2015-01-07 16:12:14 +0000
commita09882de8378f143af79f97929bd1655cc7ac495 (patch)
treee65b5fb7a32a6107844b65a88fdf00bafdfafe62 /tests/rest/test_rooms.py
parentSYN-154: Tweak how the m.room.create check is done. (diff)
downloadsynapse-a09882de8378f143af79f97929bd1655cc7ac495.tar.xz
Update tests
Diffstat (limited to '')
-rw-r--r--tests/rest/test_rooms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rest/test_rooms.py b/tests/rest/test_rooms.py
index 84fd730afc..8e65ff9a1c 100644
--- a/tests/rest/test_rooms.py
+++ b/tests/rest/test_rooms.py
@@ -294,7 +294,7 @@ class RoomPermissionsTestCase(RestTestCase):
         # set [invite/join/left] of self, set [invite/join/left] of other,
         # expect all 403s
         for usr in [self.user_id, self.rmcreator_id]:
-            yield self.join(room=room, user=usr, expect_code=403)
+            yield self.join(room=room, user=usr, expect_code=404)
             yield self.leave(room=room, user=usr, expect_code=403)
 
     @defer.inlineCallbacks