From 6fa6579c312295974bff9f6f2f78a4443dcb145e Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Mon, 12 Nov 2018 11:57:54 +0100 Subject: Use correctly formatted signature so that it rejects with the expected reason and not because the signature is mal-formatted --- packages/contract-wrappers/test/exchange_wrapper_test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'packages') diff --git a/packages/contract-wrappers/test/exchange_wrapper_test.ts b/packages/contract-wrappers/test/exchange_wrapper_test.ts index 1bf3005cc..73ce6c743 100644 --- a/packages/contract-wrappers/test/exchange_wrapper_test.ts +++ b/packages/contract-wrappers/test/exchange_wrapper_test.ts @@ -286,7 +286,8 @@ describe('ExchangeWrapper', () => { it('should throw if signature is invalid', async () => { const signedOrderWithInvalidSignature = { ...signedOrder, - signature: '0xdeadbeef', + signature: + '0x1b61a3ed31b43c8780e905a260a35faefcc527be7516aa11c0256729b5b351bc3340349190569279751135161d22529dc25add4f6069af05be04cacbda2ace225403', }; expect( -- cgit v1.2.3