aboutsummaryrefslogtreecommitdiffstats
path: root/test/order_validation_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/order_validation_test.ts')
-rw-r--r--test/order_validation_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/order_validation_test.ts b/test/order_validation_test.ts
index 8a6303f3a..93bcfcce0 100644
--- a/test/order_validation_test.ts
+++ b/test/order_validation_test.ts
@@ -37,7 +37,7 @@ describe('OrderValidation', () => {
web3 = web3Factory.create();
zeroEx = new ZeroEx(web3.currentProvider);
exchangeContractAddress = await zeroEx.exchange.getContractAddressAsync();
- userAddresses = await promisify(web3.eth.getAccounts)();
+ userAddresses = await zeroEx.getAvailableAddressesAsync();
[coinbase, makerAddress, takerAddress, feeRecipient] = userAddresses;
tokens = await zeroEx.tokenRegistry.getTokensAsync();
tokenUtils = new TokenUtils(tokens);