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
1 changed files with 2 additions and 2 deletions

View File

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