Commit 76fe1548 by Vittorio Minacori Committed by Francisco Giordano

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

parent 8f2a4785
...@@ -80,13 +80,13 @@ contract('ERC721Token', function (accounts) { ...@@ -80,13 +80,13 @@ contract('ERC721Token', function (accounts) {
const sampleUri = 'mock://mytoken'; const sampleUri = 'mock://mytoken';
it('has a name', async function () { it('has a name', async function () {
const name = await this.token.name(); const tokenName = await this.token.name();
name.should.be.equal(name); tokenName.should.be.equal(name);
}); });
it('has a symbol', async function () { it('has a symbol', async function () {
const symbol = await this.token.symbol(); const tokenSymbol = await this.token.symbol();
symbol.should.be.equal(symbol); tokenSymbol.should.be.equal(symbol);
}); });
it('sets and returns metadata for a token id', async function () { it('sets and returns metadata for a token id', async function () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment