diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-08-22 22:15:10 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-08-22 22:15:10 +0800 |
commit | 894ade168d5ff09a0b6a9b9a04a0a6b58dcc58ce (patch) | |
tree | 9ecf2e0df53080fe6e9818779f344bebcdf3fef2 /test/utils | |
parent | df274591f735d73fc1dc58ade30d46f6b14d4525 (diff) | |
download | dexon-0x-contracts-894ade168d5ff09a0b6a9b9a04a0a6b58dcc58ce.tar.gz dexon-0x-contracts-894ade168d5ff09a0b6a9b9a04a0a6b58dcc58ce.tar.zst dexon-0x-contracts-894ade168d5ff09a0b6a9b9a04a0a6b58dcc58ce.zip |
Rename shouldCheckTransfer to shouldThrowOnInsufficientBalanceOrAllowance in tests
Diffstat (limited to 'test/utils')
-rw-r--r-- | test/utils/fill_scenarios.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/utils/fill_scenarios.ts b/test/utils/fill_scenarios.ts index bebf82fd8..563415a48 100644 --- a/test/utils/fill_scenarios.ts +++ b/test/utils/fill_scenarios.ts @@ -61,8 +61,8 @@ export class FillScenarios { makerTokenAddress, takerTokenAddress, makerAddress, takerAddress, fillableAmount, fillableAmount, ); - const shouldCheckTransfer = false; - await this.zeroEx.exchange.fillOrderAsync(signedOrder, partialFillAmount, shouldCheckTransfer, takerAddress); + const shouldThrowOnInsufficientBalanceOrAllowance = false; + await this.zeroEx.exchange.fillOrderAsync(signedOrder, partialFillAmount, shouldThrowOnInsufficientBalanceOrAllowance, takerAddress); return signedOrder; } private async createAsymmetricFillableSignedOrderWithFeesAsync( |