mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-07 11:12:15 -04:00
Migrate all tests to use the dict-based config format instead of hanging items off HomeserverConfig (#5171)
This commit is contained in:
parent
5a4b328f52
commit
df2ebd75d3
23 changed files with 238 additions and 201 deletions
|
@ -919,7 +919,7 @@ class PublicRoomsRestrictedTestCase(unittest.HomeserverTestCase):
|
|||
self.url = b"/_matrix/client/r0/publicRooms"
|
||||
|
||||
config = self.default_config()
|
||||
config.restrict_public_rooms_to_local_users = True
|
||||
config["restrict_public_rooms_to_local_users"] = True
|
||||
self.hs = self.setup_test_homeserver(config=config)
|
||||
|
||||
return self.hs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue