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.py4
1 files changed, 3 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 2e676d9b..2b68dd1b 100644
--- a/service/test/unit/resources/test_backup_account_resource.py
+++ b/service/test/unit/resources/test_backup_account_resource.py
@@ -53,7 +53,9 @@ class TestBackupAccountResource(unittest.TestCase):
d = self.web.get(request)
def assert_update_recovery_code_called(_):
- mock_account_recovery_init.assert_called_with(self.resource._authenticator.bonafide_session)
+ mock_account_recovery_init.assert_called_with(
+ self.resource._authenticator.bonafide_session,
+ self.resource.soledad(request))
mock_account_recovery.update_recovery_code.assert_called()
d.addCallback(assert_update_recovery_code_called)