summary refs log tree commit diff
path: root/tests/storage/test_profile.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-12-06 16:02:50 +0000
committerErik Johnston <erik@matrix.org>2019-12-06 16:02:50 +0000
commit852f80d8a697c9d556b1b2641a2e4c1797cbbb46 (patch)
treec41b92be858914b5b38f637f638c55ec78117d6d /tests/storage/test_profile.py
parentMove start up DB checks to main data store. (diff)
downloadsynapse-852f80d8a697c9d556b1b2641a2e4c1797cbbb46.tar.xz
Fixup tests
Diffstat (limited to 'tests/storage/test_profile.py')
-rw-r--r--tests/storage/test_profile.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/storage/test_profile.py b/tests/storage/test_profile.py
index 24c7fe16c3..9b6f7211ae 100644
--- a/tests/storage/test_profile.py
+++ b/tests/storage/test_profile.py
@@ -16,7 +16,6 @@
 
 from twisted.internet import defer
 
-from synapse.storage.data_stores.main.profile import ProfileStore
 from synapse.types import UserID
 
 from tests import unittest
@@ -28,7 +27,7 @@ class ProfileStoreTestCase(unittest.TestCase):
     def setUp(self):
         hs = yield setup_test_homeserver(self.addCleanup)
 
-        self.store = ProfileStore(hs.get_db_conn(), hs)
+        self.store = hs.get_datastore()
 
         self.u_frank = UserID.from_string("@frank:test")