aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/0x.js_test.ts2
-rw-r--r--test/assert_test.ts2
-rw-r--r--test/utils/fill_scenarios.ts2
3 files changed, 3 insertions, 3 deletions
diff --git a/test/0x.js_test.ts b/test/0x.js_test.ts
index 061e0cbf4..edc2a3493 100644
--- a/test/0x.js_test.ts
+++ b/test/0x.js_test.ts
@@ -195,7 +195,7 @@ describe('ZeroEx library', () => {
const web3 = web3Factory.create();
const zeroEx = new ZeroEx(web3);
before(async () => {
- const availableAccounts = await zeroEx.getAvailableAccountsAsync();
+ const availableAccounts = await zeroEx.getAvailableAddressesAsync();
makerAccount = availableAccounts[0];
});
afterEach(() => {
diff --git a/test/assert_test.ts b/test/assert_test.ts
index f72956eb3..c8f698730 100644
--- a/test/assert_test.ts
+++ b/test/assert_test.ts
@@ -24,7 +24,7 @@ describe('Assertion library', () => {
isn't available through the supplied web3 instance`);
});
it('doesn\'t throw if account is available', async () => {
- const availableAccount = (await zeroEx.getAvailableAccountsAsync())[0];
+ const availableAccount = (await zeroEx.getAvailableAddressesAsync())[0];
const varName = 'account';
return expect(assert.isSenderAddressHexAsync(varName, availableAccount, (zeroEx as any).web3Wrapper))
.to.become(undefined);
diff --git a/test/utils/fill_scenarios.ts b/test/utils/fill_scenarios.ts
index 075906eaa..f2daac623 100644
--- a/test/utils/fill_scenarios.ts
+++ b/test/utils/fill_scenarios.ts
@@ -54,7 +54,7 @@ export class FillScenarios {
public async createPartiallyFilledSignedOrderAsync(makerTokenAddress: string, takerTokenAddress: string,
takerAddress: string, fillableAmount: BigNumber.BigNumber,
partialFillAmount: BigNumber.BigNumber) {
- const prevSenderAccount = await this.zeroEx.getAvailableAccountsAsync();
+ const prevSenderAccount = await this.zeroEx.getAvailableAddressesAsync();
const [makerAddress] = this.userAddresses;
const signedOrder = await this.createAsymmetricFillableSignedOrderAsync(
makerTokenAddress, takerTokenAddress, makerAddress, takerAddress,