summary refs log tree commit diff
path: root/tests/module_api/test_api.py
diff options
context:
space:
mode:
authorreivilibre <oliverw@matrix.org>2022-04-01 15:55:09 +0100
committerGitHub <noreply@github.com>2022-04-01 15:55:09 +0100
commitc4cf916ed7d09d13d84f964dd683e1ecfd21815b (patch)
tree56a9673e2b30190f6f6b1a896bc987949ef1aaa6 /tests/module_api/test_api.py
parentBurn `check_signature` dev script. (#12351) (diff)
downloadsynapse-c4cf916ed7d09d13d84f964dd683e1ecfd21815b.tar.xz
Default to `private` room visibility rather than `public` when a client does not specify one, according to spec. (#12350)
Diffstat (limited to 'tests/module_api/test_api.py')
-rw-r--r--tests/module_api/test_api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/module_api/test_api.py b/tests/module_api/test_api.py
index 36dfe5c36a..dee248801d 100644
--- a/tests/module_api/test_api.py
+++ b/tests/module_api/test_api.py
@@ -292,7 +292,7 @@ class ModuleApiTestCase(HomeserverTestCase):
         # Create a user and room to play with
         user_id = self.register_user("kermit", "monkey")
         tok = self.login("kermit", "monkey")
-        room_id = self.helper.create_room_as(user_id, tok=tok)
+        room_id = self.helper.create_room_as(user_id, tok=tok, is_public=False)
 
         # The room should not currently be in the public rooms directory
         is_in_public_rooms = self.get_success(