1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-29 12:22:22 -05:00

fix test for login with new device

This commit is contained in:
Felix Hammerl 2013-12-04 11:49:36 +01:00
parent 33e23a992c
commit e53e9e560e

View File

@ -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.'
});