Add hard coded proxyId into each AssetProxy

This commit is contained in:
Amir Bandeali
2018-04-26 14:51:45 -07:00
parent 63ad2ebf0b
commit bbb3d5bb67
6 changed files with 76 additions and 5 deletions

View File

@@ -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);
});
});
});