summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--service/test/support/integration/app_test_client.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/service/test/support/integration/app_test_client.py b/service/test/support/integration/app_test_client.py
index 0ff1df31..538cf633 100644
--- a/service/test/support/integration/app_test_client.py
+++ b/service/test/support/integration/app_test_client.py
@@ -429,15 +429,15 @@ def initialize_soledad(tempdir, uuid):
def __call__(self):
return self
- Soledad._shared_db = MockSharedDB()
-
_soledad = Soledad(
uuid,
passphrase,
secret_path,
local_db_path,
server_url,
- cert_file)
+ cert_file,
+ shared_db=MockSharedDB()
+ )
yield SoledadMailAdaptor().initialize_store(_soledad)