summary refs log tree commit diff
path: root/tests/events
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2022-08-19 16:52:20 +0100
committerGitHub <noreply@github.com>2022-08-19 16:52:20 +0100
commit40e3e68cd7c4ab6bf6d7ae228bacfb0c8ff6fa38 (patch)
tree4499de4d0a947016e0ec257b529b6743782e4d62 /tests/events
parentReduce the number of tests using TCP replication. (#13543) (diff)
downloadsynapse-40e3e68cd7c4ab6bf6d7ae228bacfb0c8ff6fa38.tar.xz
Register homeserver modules when creating test homeserver (#13558)
Diffstat (limited to 'tests/events')
-rw-r--r--tests/events/test_presence_router.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/events/test_presence_router.py b/tests/events/test_presence_router.py
index ffc3012a86..685a9a6d52 100644
--- a/tests/events/test_presence_router.py
+++ b/tests/events/test_presence_router.py
@@ -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)