Fix tests

This commit is contained in:
Leonid Logvinov 2017-05-25 12:52:31 +02:00
parent 00a16b37e0
commit 5d64b562c6
No known key found for this signature in database
GPG Key ID: 0DD294BFDE8C95D4

View File

@ -56,7 +56,7 @@ describe('ZeroEx library', () => {
});
});
it('should return false if the data doesn\'t pertain to the signature & address', () => {
const isValid = ZeroEx.isValidSignature('wrong data', signature, address);
const isValid = ZeroEx.isValidSignature('0x00', signature, address);
expect(isValid).to.be.false;
});
it('should return false if the address doesn\'t pertain to the signature & data', () => {