Browse Source

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

Vittorio Minacori 7 years ago
parent
commit
76fe1548ae
1 changed files with 4 additions and 4 deletions
  1. 4 4
      test/token/ERC721/ERC721Token.test.js

+ 4 - 4
test/token/ERC721/ERC721Token.test.js

@@ -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 () {