Files
openzeppelin-contracts/test/token/ERC20/BurnableToken.test.js
2018-08-03 14:41:54 -03:00

13 lines
447 B
JavaScript

const { shouldBehaveLikeBurnableToken } = require('./BurnableToken.behavior');
const BurnableTokenMock = artifacts.require('BurnableTokenMock');
contract('BurnableToken', function ([_, owner, ...otherAccounts]) {
const initialBalance = 1000;
beforeEach(async function () {
this.token = await BurnableTokenMock.new(owner, initialBalance, { from: owner });
});
shouldBehaveLikeBurnableToken(owner, initialBalance, otherAccounts);
});