Fixed import profile and wallets
This commit is contained in:
parent
528ae22413
commit
73088bca2b
10 changed files with 37 additions and 104 deletions
|
|
@ -260,8 +260,7 @@ describe('Identity model', function() {
|
|||
sinon.stub(iden, 'importWalletFromObj').yields(null);
|
||||
iden.importEncryptedWallet(123, 'password', opts, function(err) {
|
||||
should.not.exist(err);
|
||||
fakeCrypto.kdf.getCall(0).args[0].should.equal('password');
|
||||
fakeCrypto.decrypt.getCall(0).args[0].should.equal('passphrase');
|
||||
fakeCrypto.decrypt.getCall(0).args[0].should.equal('password');
|
||||
fakeCrypto.decrypt.getCall(0).args[1].should.equal(123);
|
||||
done();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue