summary refs log tree commit diff
path: root/tests/rest/client/v1
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-03-21 11:22:26 +0000
committerErik Johnston <erik@matrix.org>2019-03-21 11:24:04 +0000
commitcd80cbffea0e4dc28e01d46b6a87915e7b58244d (patch)
treece525daa20989d93ee9d8756c57aa4c7f30e53da /tests/rest/client/v1
parentRejig testcase to make it more extensible (diff)
downloadsynapse-cd80cbffea0e4dc28e01d46b6a87915e7b58244d.tar.xz
Fix typo and add description
Diffstat (limited to 'tests/rest/client/v1')
-rw-r--r--tests/rest/client/v1/test_admin.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/rest/client/v1/test_admin.py b/tests/rest/client/v1/test_admin.py
index fb4ac6b95f..0caa4aa802 100644
--- a/tests/rest/client/v1/test_admin.py
+++ b/tests/rest/client/v1/test_admin.py
@@ -385,7 +385,11 @@ class ShutdownRoomTestCase(unittest.HomeserverTestCase):
             self.store.user_set_consent_version(self.admin_user, "1"),
         )
 
-    def test_shutdown_room_conset(self):
+    def test_shutdown_room_consent(self):
+        """Test that we can shutdown rooms with local users who have not
+        yet accepted the privacy policy. This used to fail when we tried to
+        force part the user from the old room.
+        """
         self.event_creation_handler._block_events_without_consent_error = None
 
         room_id = self.helper.create_room_as(self.other_user, tok=self.other_user_token)