Browse Source

Added tests

activeAddress
Matias Pando 10 years ago
parent
commit
9bb7f221fe
  1. 13
      test/integration/server.js

13
test/integration/server.js

@ -1648,7 +1648,18 @@ describe('Copay server', function() {
done();
});
});
it.skip('should get someone elses transaction proposal', function(done) {});
it('should get someone elses transaction proposal', function(done) {
helpers.getAuthServer(wallet.copayers[1].id, function(server2, wallet) {
server2.getTx({
txProposalId: txpid
}, function(err, res) {
should.not.exist(err);
res.id.should.equal(txpid);
done();
});
});
});
it('should fail to get non-existent transaction proposal', function(done) {
server.getTx({
txProposalId: 'dummy'

Loading…
Cancel
Save