diff options
author | Erik Johnston <erikj@jki.re> | 2017-01-10 14:04:54 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-10 14:04:54 +0000 |
commit | 7d0981b31298d93768f96106a5b2033ae5de65c1 (patch) | |
tree | 31594f5e23e035dbd5e22765dcc4b0f9ff64d13c /tests/rest/client/v1/test_rooms.py | |
parent | Merge pull request #1786 from matrix-org/erikj/linearizer_name (diff) | |
parent | Linearize updates to membership via PUT /state/ (diff) | |
download | synapse-7d0981b31298d93768f96106a5b2033ae5de65c1.tar.xz |
Merge pull request #1787 from matrix-org/erikj/linearize_member
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.py | 4 |
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): |