diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-04-27 05:51:45 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-05-01 07:40:27 +0800 |
commit | bbb3d5bb67f602a14f58f9a01ab94f498a400cc6 (patch) | |
tree | 0533d81bbf27b23c1377a308ac9bf6d7e2ac6c16 /packages/contracts/test/asset_proxy | |
parent | 63ad2ebf0bb9b78bbfc2190390fab83e7c0639b6 (diff) | |
download | dexon-sol-tools-bbb3d5bb67f602a14f58f9a01ab94f498a400cc6.tar dexon-sol-tools-bbb3d5bb67f602a14f58f9a01ab94f498a400cc6.tar.gz dexon-sol-tools-bbb3d5bb67f602a14f58f9a01ab94f498a400cc6.tar.bz2 dexon-sol-tools-bbb3d5bb67f602a14f58f9a01ab94f498a400cc6.tar.lz dexon-sol-tools-bbb3d5bb67f602a14f58f9a01ab94f498a400cc6.tar.xz dexon-sol-tools-bbb3d5bb67f602a14f58f9a01ab94f498a400cc6.tar.zst dexon-sol-tools-bbb3d5bb67f602a14f58f9a01ab94f498a400cc6.zip |
Add hard coded proxyId into each AssetProxy
Diffstat (limited to 'packages/contracts/test/asset_proxy')
-rw-r--r-- | packages/contracts/test/asset_proxy/proxies.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/contracts/test/asset_proxy/proxies.ts b/packages/contracts/test/asset_proxy/proxies.ts index 6aefadee7..bdd0a8696 100644 --- a/packages/contracts/test/asset_proxy/proxies.ts +++ b/packages/contracts/test/asset_proxy/proxies.ts @@ -145,6 +145,11 @@ describe('Asset Transfer Proxies', () => { }), ).to.be.rejectedWith(constants.REVERT); }); + + it('should have an id of 1', async () => { + const proxyId = await erc20Proxy.getProxyId.callAsync(); + expect(proxyId).to.equal(1); + }); }); describe('Transfer Proxy - ERC721', () => { @@ -240,5 +245,10 @@ describe('Asset Transfer Proxies', () => { ), ).to.be.rejectedWith(constants.REVERT); }); + + it('should have an id of 2', async () => { + const proxyId = await erc721Proxy.getProxyId.callAsync(); + expect(proxyId).to.equal(2); + }); }); }); |