mirror of
https://github.com/moparisthebest/mail
synced 2024-11-26 02:42:17 -05:00
fix test for login with new device
This commit is contained in:
parent
33e23a992c
commit
e53e9e560e
@ -93,7 +93,7 @@ define(function(require) {
|
||||
_id: keyId,
|
||||
publicKey: 'a'
|
||||
});
|
||||
emailDaoMock.unlock.withArgs(sinon.match.any, passphrase).yields();
|
||||
emailDaoMock.unlock.yields();
|
||||
keychainMock.putUserKeyPair.yields({
|
||||
errMsg: 'yo mamma.'
|
||||
});
|
||||
@ -115,7 +115,7 @@ define(function(require) {
|
||||
_id: keyId,
|
||||
publicKey: 'a'
|
||||
});
|
||||
emailDaoMock.unlock.withArgs(sinon.match.any, passphrase).yields({
|
||||
emailDaoMock.unlock.yields({
|
||||
errMsg: 'yo mamma.'
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user