summary refs log tree commit diff
path: root/tests/rest/client/v1/test_rooms.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-01-09 18:25:13 +0000
committerErik Johnston <erik@matrix.org>2017-01-09 18:25:13 +0000
commit6823fe52410db3b95df720b7955ad7b617dc7dee (patch)
tree0c019d9d693b09bb10ecb6e29616e5edf00893a9 /tests/rest/client/v1/test_rooms.py
parentMerge branch 'master' of github.com:matrix-org/synapse into develop (diff)
downloadsynapse-6823fe52410db3b95df720b7955ad7b617dc7dee.tar.xz
Linearize updates to membership via PUT /state/
Diffstat (limited to 'tests/rest/client/v1/test_rooms.py')
-rw-r--r--tests/rest/client/v1/test_rooms.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rest/client/v1/test_rooms.py b/tests/rest/client/v1/test_rooms.py
index 4fe99ebc0b..6bce352c5f 100644
--- a/tests/rest/client/v1/test_rooms.py
+++ b/tests/rest/client/v1/test_rooms.py
@@ -259,8 +259,8 @@ class RoomPermissionsTestCase(RestTestCase):
         # set [invite/join/left] of self, set [invite/join/left] of other,
         # expect all 404s because room doesn't exist on any server
         for usr in [self.user_id, self.rmcreator_id]:
-            yield self.join(room=room, user=usr, expect_code=403)
-            yield self.leave(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=404)
 
     @defer.inlineCallbacks
     def test_membership_private_room_perms(self):