remove recreate wallet test

This commit is contained in:
Ivan Socolsky 2015-02-08 11:36:15 -03:00
parent 7726a69ae5
commit 70475fa17c
1 changed files with 0 additions and 23 deletions

View File

@ -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,