aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/test
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2017-12-01 14:11:44 +0800
committerAmir Bandeali <abandeali1@gmail.com>2017-12-01 14:11:44 +0800
commitca9518c48cf6d5220f05d467c3388b37c3b5c986 (patch)
tree421d299ad20362b768ed5617e22484b18ac395ec /packages/contracts/test
parentd44d6ccfd8d1aea61f9302affc5e702cb3339773 (diff)
downloaddexon-sol-tools-ca9518c48cf6d5220f05d467c3388b37c3b5c986.tar
dexon-sol-tools-ca9518c48cf6d5220f05d467c3388b37c3b5c986.tar.gz
dexon-sol-tools-ca9518c48cf6d5220f05d467c3388b37c3b5c986.tar.bz2
dexon-sol-tools-ca9518c48cf6d5220f05d467c3388b37c3b5c986.tar.lz
dexon-sol-tools-ca9518c48cf6d5220f05d467c3388b37c3b5c986.tar.xz
dexon-sol-tools-ca9518c48cf6d5220f05d467c3388b37c3b5c986.tar.zst
dexon-sol-tools-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.ts4
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();
});