set worker_app for frontend proxy test (#7003)

to stop the federationhandler trying to do master stuff
This commit is contained in:
Richard van der Hoff 2020-02-27 13:08:43 +00:00 committed by GitHub
parent b32ac60c22
commit cab4a52535
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

1
changelog.d/7003.misc Normal file
View File

@ -0,0 +1 @@
Refactoring work in preparation for changing the event redaction algorithm.

View File

@ -27,6 +27,11 @@ class FrontendProxyTests(HomeserverTestCase):
return hs
def default_config(self, name="test"):
c = super().default_config(name)
c["worker_app"] = "synapse.app.frontend_proxy"
return c
def test_listen_http_with_presence_enabled(self):
"""
When presence is on, the stub servlet will not register.