More authorized -> owner in test comments

This commit is contained in:
Greg Hysen
2018-04-12 21:40:14 -07:00
committed by Amir Bandeali
parent 44919c353e
commit e1a74b6bdd

View File

@@ -181,7 +181,7 @@ describe('Asset Transfer Proxies', () => {
); );
}); });
it('should throw if requesting address is not authorized', async () => { it('should throw if requesting address is not owner', async () => {
// Construct metadata for ERC20 proxy // Construct metadata for ERC20 proxy
const encodedProxyMetadata = encodeERC20V1ProxyData(zrx.address); const encodedProxyMetadata = encodeERC20V1ProxyData(zrx.address);
// Perform a transfer from makerAddress to takerAddress // Perform a transfer from makerAddress to takerAddress
@@ -250,7 +250,7 @@ describe('Asset Transfer Proxies', () => {
); );
}); });
it('should throw if requesting address is not authorized', async () => { it('should throw if requesting address is not owner', async () => {
// Construct metadata for ERC20 proxy // Construct metadata for ERC20 proxy
const encodedProxyMetadata = encodeERC20ProxyData(zrx.address); const encodedProxyMetadata = encodeERC20ProxyData(zrx.address);
// Perform a transfer from makerAddress to takerAddress // Perform a transfer from makerAddress to takerAddress
@@ -366,7 +366,7 @@ describe('Asset Transfer Proxies', () => {
).to.be.rejectedWith(constants.REVERT); ).to.be.rejectedWith(constants.REVERT);
}); });
it('should throw if requesting address is not authorized', async () => { it('should throw if requesting address is not owner', async () => {
// Construct metadata for ERC20 proxy // Construct metadata for ERC20 proxy
const encodedProxyMetadata = encodeERC721ProxyData(zrx.address, makerTokenId); const encodedProxyMetadata = encodeERC721ProxyData(zrx.address, makerTokenId);
// Perform a transfer from makerAddress to takerAddress // Perform a transfer from makerAddress to takerAddress