Files
openzeppelin-contracts/test/token/ERC721/ERC721.test.js
Ernesto García b425a72240 Replace revert strings with custom errors (#4261)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco <fg@frang.io>
2023-06-12 23:41:52 +00:00

16 lines
440 B
JavaScript

const { shouldBehaveLikeERC721, shouldBehaveLikeERC721Metadata } = require('./ERC721.behavior');
const ERC721 = artifacts.require('$ERC721');
contract('ERC721', function (accounts) {
const name = 'Non Fungible Token';
const symbol = 'NFT';
beforeEach(async function () {
this.token = await ERC721.new(name, symbol);
});
shouldBehaveLikeERC721(...accounts);
shouldBehaveLikeERC721Metadata(name, symbol, ...accounts);
});