summary refs log tree commit diff
path: root/tests/storage/test_profile.py
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2018-09-04 02:21:48 +1000
committerGitHub <noreply@github.com>2018-09-04 02:21:48 +1000
commit77055dba92af80cdfdffc30fd3084ecd24902c2e (patch)
tree1d0a9c0afdecdeae970d98c77ba4c2ff8f4f39be /tests/storage/test_profile.py
parentMerge pull request #3737 from matrix-org/erikj/remove_redundant_state_func (diff)
downloadsynapse-77055dba92af80cdfdffc30fd3084ecd24902c2e.tar.xz
Fix tests on postgresql (#3740)
Diffstat (limited to 'tests/storage/test_profile.py')
-rw-r--r--tests/storage/test_profile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/storage/test_profile.py b/tests/storage/test_profile.py
index a1f6618bf9..45824bd3b2 100644
--- a/tests/storage/test_profile.py
+++ b/tests/storage/test_profile.py
@@ -28,7 +28,7 @@ class ProfileStoreTestCase(unittest.TestCase):
     def setUp(self):
         hs = yield setup_test_homeserver(self.addCleanup)
 
-        self.store = ProfileStore(None, hs)
+        self.store = ProfileStore(hs.get_db_conn(), hs)
 
         self.u_frank = UserID.from_string("@frank:test")