Update invalid transaction test case
This commit is contained in:
parent
8a8ae5b357
commit
07f49195ea
|
@ -339,7 +339,8 @@ describe('Transaction', function() {
|
||||||
// ...by this function, so ignore if that is the case
|
// ...by this function, so ignore if that is the case
|
||||||
if (err && err.constructor.name === "AssertionError") return;
|
if (err && err.constructor.name === "AssertionError") return;
|
||||||
|
|
||||||
should.exist(err);
|
// There should either be an error, or the results should be false.
|
||||||
|
(err !== null || (!err && results === false)).should.equal(true);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue