remove recreate wallet test
This commit is contained in:
parent
7726a69ae5
commit
70475fa17c
|
@ -252,29 +252,6 @@ describe('Copay server', function() {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
// non sense with server generated UUIDs
|
|
||||||
it.skip('should fail to recreate existing wallet', function(done) {
|
|
||||||
var opts = {
|
|
||||||
id: '123',
|
|
||||||
name: 'my wallet',
|
|
||||||
m: 2,
|
|
||||||
n: 3,
|
|
||||||
pubKey: aPubKey,
|
|
||||||
};
|
|
||||||
server.createWallet(opts, function(err) {
|
|
||||||
should.not.exist(err);
|
|
||||||
server.storage.fetchWallet('123', function(err, wallet) {
|
|
||||||
should.not.exist(err);
|
|
||||||
wallet.id.should.equal('123');
|
|
||||||
wallet.name.should.equal('my wallet');
|
|
||||||
server.createWallet(opts, function(err) {
|
|
||||||
should.exist(err);
|
|
||||||
done();
|
|
||||||
});
|
|
||||||
});
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should fail to create wallet with invalid copayer pairs', function(done) {
|
it('should fail to create wallet with invalid copayer pairs', function(done) {
|
||||||
var invalidPairs = [{
|
var invalidPairs = [{
|
||||||
m: 0,
|
m: 0,
|
||||||
|
|
Loading…
Reference in New Issue