summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2018-08-22 11:35:55 +0100
committerGitHub <noreply@github.com>2018-08-22 11:35:55 +0100
commit764030cf632a21b857b52fb61fad04f3d23f22c0 (patch)
tree3d829ed43131171127616eaa332a3ef95632eabe /tests
parentMerge pull request #3673 from matrix-org/erikj/refactor_state_handler (diff)
parentRename WorkerProfileHandler to BaseProfileHandler (diff)
downloadsynapse-764030cf632a21b857b52fb61fad04f3d23f22c0.tar.xz
Merge pull request #3659 from matrix-org/erikj/split_profiles
Allow profile updates to happen on workers
Diffstat (limited to 'tests')
-rw-r--r--tests/handlers/test_profile.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/handlers/test_profile.py b/tests/handlers/test_profile.py
index 62dc69003c..80da1c8954 100644
--- a/tests/handlers/test_profile.py
+++ b/tests/handlers/test_profile.py
@@ -20,7 +20,7 @@ from twisted.internet import defer
 
 import synapse.types
 from synapse.api.errors import AuthError
-from synapse.handlers.profile import ProfileHandler
+from synapse.handlers.profile import MasterProfileHandler
 from synapse.types import UserID
 
 from tests import unittest
@@ -29,7 +29,7 @@ from tests.utils import setup_test_homeserver
 
 class ProfileHandlers(object):
     def __init__(self, hs):
-        self.profile_handler = ProfileHandler(hs)
+        self.profile_handler = MasterProfileHandler(hs)
 
 
 class ProfileTestCase(unittest.TestCase):