Skip to content

Commit

Permalink
set worker_app for frontend proxy test (matrix-org#7003)
Browse files Browse the repository at this point in the history
to stop the federationhandler trying to do master stuff
  • Loading branch information
richvdh authored and phil-flex committed Mar 27, 2020
1 parent 29974ad commit 263aec2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.d/7003.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Refactoring work in preparation for changing the event redaction algorithm.
5 changes: 5 additions & 0 deletions tests/app/test_frontend_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ def make_homeserver(self, reactor, clock):

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.
Expand Down

0 comments on commit 263aec2

Please sign in to comment.