diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2017-12-01 14:11:44 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2017-12-01 14:11:44 +0800 |
commit | ca9518c48cf6d5220f05d467c3388b37c3b5c986 (patch) | |
tree | 421d299ad20362b768ed5617e22484b18ac395ec /packages/contracts/test | |
parent | d44d6ccfd8d1aea61f9302affc5e702cb3339773 (diff) | |
download | dexon-0x-contracts-ca9518c48cf6d5220f05d467c3388b37c3b5c986.tar dexon-0x-contracts-ca9518c48cf6d5220f05d467c3388b37c3b5c986.tar.gz dexon-0x-contracts-ca9518c48cf6d5220f05d467c3388b37c3b5c986.tar.bz2 dexon-0x-contracts-ca9518c48cf6d5220f05d467c3388b37c3b5c986.tar.lz dexon-0x-contracts-ca9518c48cf6d5220f05d467c3388b37c3b5c986.tar.xz dexon-0x-contracts-ca9518c48cf6d5220f05d467c3388b37c3b5c986.tar.zst dexon-0x-contracts-ca9518c48cf6d5220f05d467c3388b37c3b5c986.zip |
Make class methods that don't use 'this' static
Diffstat (limited to 'packages/contracts/test')
-rw-r--r-- | packages/contracts/test/ts/multi_sig_with_time_lock_except_remove_auth_addr.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/contracts/test/ts/multi_sig_with_time_lock_except_remove_auth_addr.ts b/packages/contracts/test/ts/multi_sig_with_time_lock_except_remove_auth_addr.ts index ed0a6c3dd..97ccac2bd 100644 --- a/packages/contracts/test/ts/multi_sig_with_time_lock_except_remove_auth_addr.ts +++ b/packages/contracts/test/ts/multi_sig_with_time_lock_except_remove_auth_addr.ts @@ -42,13 +42,13 @@ contract('MultiSigWalletWithTimeLockExceptRemoveAuthorizedAddress', (accounts: s describe('isFunctionRemoveAuthorizedAddress', () => { it('should throw if data is not for removeAuthorizedAddress', async () => { - const data = multiSigWrapper.encodeFnArgs('addAuthorizedAddress', PROXY_ABI, [owners[0]]); + const data = MultiSigWrapper.encodeFnArgs('addAuthorizedAddress', PROXY_ABI, [owners[0]]); return expect(multiSig.isFunctionRemoveAuthorizedAddress.call(data)) .to.be.rejectedWith(constants.INVALID_OPCODE); }); it('should return true if data is for removeAuthorizedAddress', async () => { - const data = multiSigWrapper.encodeFnArgs('removeAuthorizedAddress', PROXY_ABI, [owners[0]]); + const data = MultiSigWrapper.encodeFnArgs('removeAuthorizedAddress', PROXY_ABI, [owners[0]]); const isFunctionRemoveAuthorizedAddress = await multiSig.isFunctionRemoveAuthorizedAddress.call(data); expect(isFunctionRemoveAuthorizedAddress).to.be.true(); }); |