diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2020-09-18 11:37:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-18 11:37:21 +0100 |
commit | 8b234fb2163a264bd38951ae3a16c39c6b207bf1 (patch) | |
tree | 45ef5cd33f4a380345bf7fcbb4db0c42829dfb70 | |
parent | Make all rooms noisy by default (#60) (diff) | |
download | synapse-8b234fb2163a264bd38951ae3a16c39c6b207bf1.tar.xz |
Swap method calls in RoomAccessTestCase.test_change_rules (#64)
Swap these calls around, as the check for changing `restricted` to `unrestricted` will actually change `self.restricted_room` to an unrestricted room. Do that last, instead of first. Additionally add a comment with a warning.
-rw-r--r-- | changelog.d/64.bugfix | 1 | ||||
-rw-r--r-- | tests/rest/client/test_room_access_rules.py | 11 |
2 files changed, 7 insertions, 5 deletions
diff --git a/changelog.d/64.bugfix b/changelog.d/64.bugfix new file mode 100644 |