aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/test/asset_proxy_dispatcher/dispatcher.ts
diff options
context:
space:
mode:
authorGreg Hysen <greg.hysen@gmail.com>2018-04-13 09:06:45 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-04-21 04:56:17 +0800
commit8374a51e6aed171c64600205b1219c6f38550a06 (patch)
tree2d2759ce586f80fb8a79d590e092dd20709e21e4 /packages/contracts/test/asset_proxy_dispatcher/dispatcher.ts
parent4e48de111600412c6344bc5c4df42e4d17807e97 (diff)
downloaddexon-0x-contracts-8374a51e6aed171c64600205b1219c6f38550a06.tar.gz
dexon-0x-contracts-8374a51e6aed171c64600205b1219c6f38550a06.tar.zst
dexon-0x-contracts-8374a51e6aed171c64600205b1219c6f38550a06.zip
Replaced instances of `accounts[0]` with `owner` in contracts test cases
Diffstat (limited to 'packages/contracts/test/asset_proxy_dispatcher/dispatcher.ts')
-rw-r--r--packages/contracts/test/asset_proxy_dispatcher/dispatcher.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/contracts/test/asset_proxy_dispatcher/dispatcher.ts b/packages/contracts/test/asset_proxy_dispatcher/dispatcher.ts
index 8f430ee94..04de86865 100644
--- a/packages/contracts/test/asset_proxy_dispatcher/dispatcher.ts
+++ b/packages/contracts/test/asset_proxy_dispatcher/dispatcher.ts
@@ -56,7 +56,7 @@ describe('AssetProxyDispatcher', () => {
provider,
);
await assetProxyDispatcher.addAuthorizedAddress.sendTransactionAsync(exchangeAddress, {
- from: accounts[0],
+ from: owner,
});
// Deploy TokenTransferProxy
const tokenTransferProxyInstance = await deployer.deployAsync(ContractName.TokenTransferProxy);
@@ -75,10 +75,10 @@ describe('AssetProxyDispatcher', () => {
provider,
);
await erc20TransferProxyV1.addAuthorizedAddress.sendTransactionAsync(assetProxyDispatcher.address, {
- from: accounts[0],
+ from: owner,
});
await tokenTransferProxy.addAuthorizedAddress.sendTransactionAsync(erc20TransferProxyV1.address, {
- from: accounts[0],
+ from: owner,
});
// Deploy ERC20 Proxy
const erc20TransferProxyInstance = await deployer.deployAsync(ContractName.ERC20Proxy);
@@ -88,7 +88,7 @@ describe('AssetProxyDispatcher', () => {
provider,
);
await erc20TransferProxy.addAuthorizedAddress.sendTransactionAsync(assetProxyDispatcher.address, {
- from: accounts[0],
+ from: owner,
});
// Deploy ERC721 Proxy
const erc721TransferProxyInstance = await deployer.deployAsync(ContractName.ERC721Proxy);
@@ -98,7 +98,7 @@ describe('AssetProxyDispatcher', () => {
provider,
);
await erc721TransferProxy.addAuthorizedAddress.sendTransactionAsync(assetProxyDispatcher.address, {
- from: accounts[0],
+ from: owner,
});
// Deploy zrx and set initial balances
const zrxInstance = await deployer.deployAsync(ContractName.DummyToken, constants.DUMMY_TOKEN_ARGS);