summaryrefslogtreecommitdiff
path: root/service/test/unit/resources/test_backup_account_resource.py
diff options
context:
space:
mode:
Diffstat (limited to 'service/test/unit/resources/test_backup_account_resource.py')
-rw-r--r--service/test/unit/resources/test_backup_account_resource.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/test/unit/resources/test_backup_account_resource.py b/service/test/unit/resources/test_backup_account_resource.py
index 3d23256e..2b68dd1b 100644
--- a/service/test/unit/resources/test_backup_account_resource.py
+++ b/service/test/unit/resources/test_backup_account_resource.py
@@ -55,7 +55,7 @@ class TestBackupAccountResource(unittest.TestCase):
def assert_update_recovery_code_called(_):
mock_account_recovery_init.assert_called_with(
self.resource._authenticator.bonafide_session,
- self.services_factory.services()._leap_session.soledad)
+ self.resource.soledad(request))
mock_account_recovery.update_recovery_code.assert_called()
d.addCallback(assert_update_recovery_code_called)