Update tests/rest/admin/test_user.py

Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
pull/8617/head
Erik Johnston 2020-11-02 10:04:30 +00:00 committed by GitHub
parent 9b9a7bddc4
commit ae0fef3063
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1753,7 +1753,7 @@ class UserTokenRestTestCase(unittest.HomeserverTestCase):
# Create a room as the admin user. This will bump the monthly active users to 1.
room_id = self.helper.create_room_as(self.admin_user, tok=self.admin_user_tok)
# Trying to join as the other user should fail.
# Trying to join as the other user should fail due to reaching MAU limit.
self.helper.join(
room_id, user=self.other_user, tok=self.other_user_tok, expect_code=403
)