Fix ERC721 test is not checking name and symbol properly #910 (#911)

This commit is contained in:
Vittorio Minacori
2018-04-24 01:36:47 +02:00
committed by Francisco Giordano
parent 8f2a4785cb
commit 76fe1548ae

View File

@ -80,13 +80,13 @@ contract('ERC721Token', function (accounts) {
const sampleUri = 'mock://mytoken';
it('has a name', async function () {
const name = await this.token.name();
name.should.be.equal(name);
const tokenName = await this.token.name();
tokenName.should.be.equal(name);
});
it('has a symbol', async function () {
const symbol = await this.token.symbol();
symbol.should.be.equal(symbol);
const tokenSymbol = await this.token.symbol();
tokenSymbol.should.be.equal(symbol);
});
it('sets and returns metadata for a token id', async function () {