All tests now use account names, and dont use accounts[0] (except ERC… (#1137)
* All tests now use account names, and dont use accounts[0] (except ERC721) * Added account names to some missing contracts.
This commit is contained in:
@ -10,14 +10,14 @@ require('chai')
|
||||
.use(require('chai-bignumber')(BigNumber))
|
||||
.should();
|
||||
|
||||
contract('StandardBurnableToken', function ([owner, burner]) {
|
||||
contract('StandardBurnableToken', function ([_, owner, burner]) {
|
||||
const initialBalance = 1000;
|
||||
|
||||
beforeEach(async function () {
|
||||
this.token = await StandardBurnableTokenMock.new(owner, initialBalance);
|
||||
});
|
||||
|
||||
shouldBehaveLikeBurnableToken([owner], initialBalance);
|
||||
shouldBehaveLikeBurnableToken(owner, initialBalance);
|
||||
|
||||
describe('burnFrom', function () {
|
||||
describe('on success', function () {
|
||||
|
||||
Reference in New Issue
Block a user