mirror of
https://github.com/moparisthebest/mail
synced 2024-11-22 08:52:15 -05:00
fix test for login with existing user
This commit is contained in:
parent
8e0d0ff4fd
commit
33e23a992c
@ -71,7 +71,10 @@ define(function(require) {
|
||||
pathSpy = sinon.spy(location, 'path');
|
||||
scope.passphrase = passphrase;
|
||||
keychainMock.getUserKeyPair.withArgs(emailAddress).yields(null, keypair);
|
||||
emailDaoMock.unlock.withArgs(keypair, passphrase).yields(null);
|
||||
emailDaoMock.unlock.withArgs({
|
||||
keypair: keypair,
|
||||
passphrase: passphrase
|
||||
}).yields();
|
||||
|
||||
|
||||
scope.confirmPassphrase();
|
||||
|
Loading…
Reference in New Issue
Block a user