diff options
author | reivilibre <oliverw@matrix.org> | 2022-04-01 15:55:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-01 15:55:09 +0100 |
commit | c4cf916ed7d09d13d84f964dd683e1ecfd21815b (patch) | |
tree | 56a9673e2b30190f6f6b1a896bc987949ef1aaa6 /tests/storage/test_cleanup_extrems.py | |
parent | Burn `check_signature` dev script. (#12351) (diff) | |
download | synapse-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/storage/test_cleanup_extrems.py')
-rw-r--r-- | tests/storage/test_cleanup_extrems.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/storage/test_cleanup_extrems.py b/tests/storage/test_cleanup_extrems.py index fe91c3fed8..b998ad42d9 100644 --- a/tests/storage/test_cleanup_extrems.py +++ b/tests/storage/test_cleanup_extrems.py @@ -266,7 +266,9 @@ class CleanupExtremDummyEventsTestCase(HomeserverTestCase): self.user = UserID.from_string(self.register_user("user1", "password")) self.token1 = self.login("user1", "password") self.requester = create_requester(self.user) - info, _ = self.get_success(self.room_creator.create_room(self.requester, {})) + info, _ = self.get_success( + self.room_creator.create_room(self.requester, {"visibility": "public"}) + ) self.room_id = info["room_id"] self.event_creator = homeserver.get_event_creation_handler() homeserver.config.consent.user_consent_version = self.CONSENT_VERSION |