Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
resolved some failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SargeKhan committed Jun 23, 2017
1 parent c98601f commit b804daa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion test/api/delegates.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ describe('PUT /api/accounts/delegates with funds', function () {
delegates: ''
}, function (err, res) {
node.expect(res.body).to.have.property('success').to.be.not.ok;
node.expect(res.body).to.have.property('error').to.equal('Invalid transaction asset');
node.expect(res.body).to.have.property('error').to.equal('Failed to validate vote schema: Expected type array but found type string');
done();
});
});
Expand Down
2 changes: 0 additions & 2 deletions test/api/multisignatures.js
Original file line number Diff line number Diff line change
Expand Up @@ -357,14 +357,12 @@ describe('GET /api/multisignatures/pending', function () {
node.expect(pending.transaction).to.have.property('type').that.is.equal(node.txTypes.MULTI);
node.expect(pending.transaction).to.have.property('amount').that.is.equal(0);
node.expect(pending.transaction).to.have.property('senderPublicKey').that.is.equal(multisigAccount.publicKey);
node.expect(pending.transaction).to.have.property('requesterPublicKey').that.is.null;
node.expect(pending.transaction).to.have.property('timestamp').that.is.a('number');
node.expect(pending.transaction).to.have.property('asset').that.is.an('object');
node.expect(pending.transaction.asset).to.have.property('multisignature').that.is.an('object');
node.expect(pending.transaction.asset.multisignature).to.have.property('min').that.is.a('number');
node.expect(pending.transaction.asset.multisignature).to.have.property('keysgroup').that.is.an('array');
node.expect(pending.transaction.asset.multisignature).to.have.property('lifetime').that.is.a('number');
node.expect(pending.transaction).to.have.property('recipientId').that.is.null;
node.expect(pending.transaction).to.have.property('signature').that.is.a('string');
node.expect(pending.transaction).to.have.property('id').that.is.equal(multiSigTx.txId);
node.expect(pending.transaction).to.have.property('fee').that.is.equal(node.fees.multisignatureRegistrationFee * (Keys.length + 1));
Expand Down

0 comments on commit b804daa

Please sign in to comment.