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:
@ -1,12 +1,10 @@
|
||||
const { shouldBehaveLikeMintableToken } = require('./MintableToken.behaviour');
|
||||
const MintableToken = artifacts.require('MintableToken');
|
||||
|
||||
contract('MintableToken', function ([owner, anotherAccount]) {
|
||||
const minter = owner;
|
||||
|
||||
contract('MintableToken', function ([_, owner, ...otherAccounts]) {
|
||||
beforeEach(async function () {
|
||||
this.token = await MintableToken.new({ from: owner });
|
||||
});
|
||||
|
||||
shouldBehaveLikeMintableToken([owner, anotherAccount, minter]);
|
||||
shouldBehaveLikeMintableToken(owner, owner, otherAccounts);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user