diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-08-30 05:32:49 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-08-31 00:27:28 +0800 |
commit | 86319291e3e5eea7e9fd3ea683664743ae71cd8d (patch) | |
tree | 19ae72df9821c6d9acff397894ce912cc61631a9 /packages | |
parent | afa2dd73743398f3973ab7de5a7a0d4c18acc5a5 (diff) | |
download | dexon-sol-tools-86319291e3e5eea7e9fd3ea683664743ae71cd8d.tar dexon-sol-tools-86319291e3e5eea7e9fd3ea683664743ae71cd8d.tar.gz dexon-sol-tools-86319291e3e5eea7e9fd3ea683664743ae71cd8d.tar.bz2 dexon-sol-tools-86319291e3e5eea7e9fd3ea683664743ae71cd8d.tar.lz dexon-sol-tools-86319291e3e5eea7e9fd3ea683664743ae71cd8d.tar.xz dexon-sol-tools-86319291e3e5eea7e9fd3ea683664743ae71cd8d.tar.zst dexon-sol-tools-86319291e3e5eea7e9fd3ea683664743ae71cd8d.zip |
Update used addresses for authorizable tests
Diffstat (limited to 'packages')
-rw-r--r-- | packages/contracts/test/asset_proxy/authorizable.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/contracts/test/asset_proxy/authorizable.ts b/packages/contracts/test/asset_proxy/authorizable.ts index e99c6cee3..0c0da46b3 100644 --- a/packages/contracts/test/asset_proxy/authorizable.ts +++ b/packages/contracts/test/asset_proxy/authorizable.ts @@ -2,6 +2,7 @@ import { BlockchainLifecycle } from '@0xproject/dev-utils'; import { RevertReason } from '@0xproject/types'; import { BigNumber } from '@0xproject/utils'; import * as chai from 'chai'; +import * as _ from 'lodash'; import { MixinAuthorizableContract } from '../../generated_contract_wrappers/mixin_authorizable'; import { artifacts } from '../utils/artifacts'; @@ -28,8 +29,7 @@ describe('Authorizable', () => { }); before(async () => { const accounts = await web3Wrapper.getAvailableAddressesAsync(); - owner = address = accounts[0]; - notOwner = accounts[1]; + [owner, address, notOwner] = _.slice(accounts, 0, 3); authorizable = await MixinAuthorizableContract.deployFrom0xArtifactAsync( artifacts.MixinAuthorizable, provider, |