mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-06 01:05:08 -04:00
Register homeserver modules when creating test homeserver (#13558)
This commit is contained in:
parent
f3fba4914d
commit
40e3e68cd7
5 changed files with 15 additions and 22 deletions
|
@ -141,10 +141,6 @@ class PresenceRouterTestCase(FederatingHomeserverTestCase):
|
|||
hs = self.setup_test_homeserver(
|
||||
federation_transport_client=fed_transport_client,
|
||||
)
|
||||
# Load the modules into the homeserver
|
||||
module_api = hs.get_module_api()
|
||||
for module, config in hs.config.modules.loaded_modules:
|
||||
module(config=config, api=module_api)
|
||||
|
||||
load_legacy_presence_router(hs)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue