mirror of
https://github.com/moparisthebest/mail
synced 2025-02-17 23:40:22 -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,
|
_id: keyId,
|
||||||
publicKey: 'a'
|
publicKey: 'a'
|
||||||
});
|
});
|
||||||
emailDaoMock.unlock.withArgs(sinon.match.any, passphrase).yields();
|
emailDaoMock.unlock.yields();
|
||||||
keychainMock.putUserKeyPair.yields({
|
keychainMock.putUserKeyPair.yields({
|
||||||
errMsg: 'yo mamma.'
|
errMsg: 'yo mamma.'
|
||||||
});
|
});
|
||||||
@ -115,7 +115,7 @@ define(function(require) {
|
|||||||
_id: keyId,
|
_id: keyId,
|
||||||
publicKey: 'a'
|
publicKey: 'a'
|
||||||
});
|
});
|
||||||
emailDaoMock.unlock.withArgs(sinon.match.any, passphrase).yields({
|
emailDaoMock.unlock.yields({
|
||||||
errMsg: 'yo mamma.'
|
errMsg: 'yo mamma.'
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user