diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-07-01 14:25:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-01 14:25:37 -0400 |
commit | 8d609435c0053fc4decbc3f9c3603e728912749c (patch) | |
tree | 71ac54e8aaf9a2c810dd374ef5f3e5ecbbd20d73 /tests/handlers/test_presence.py | |
parent | fix ordering of bg update (#10291) (diff) | |
download | synapse-8d609435c0053fc4decbc3f9c3603e728912749c.tar.xz |
Move methods involving event authentication to EventAuthHandler. (#10268)
Instead of mixing them with user authentication methods.
Diffstat (limited to '')
-rw-r--r-- | tests/handlers/test_presence.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/handlers/test_presence.py b/tests/handlers/test_presence.py index dfb9b3a0fa..18e92e90d7 100644 --- a/tests/handlers/test_presence.py +++ b/tests/handlers/test_presence.py @@ -734,7 +734,7 @@ class PresenceJoinTestCase(unittest.HomeserverTestCase): self.store = hs.get_datastore() self.state = hs.get_state_handler() - self.auth = hs.get_auth() + self._event_auth_handler = hs.get_event_auth_handler() # We don't actually check signatures in tests, so lets just create a # random key to use. @@ -846,7 +846,7 @@ class PresenceJoinTestCase(unittest.HomeserverTestCase): builder = EventBuilder( state=self.state, - auth=self.auth, + event_auth_handler=self._event_auth_handler, store=self.store, clock=self.clock, hostname=hostname, |