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

pull/906/head^2
Vittorio Minacori 7 years ago committed by Francisco Giordano
parent 8f2a4785cb
commit 76fe1548ae
  1. 8
      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 () {

Loading…
Cancel
Save