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,9 +1,8 @@
|
||||
const { decodeLogs } = require('../helpers/decodeLogs');
|
||||
const SimpleToken = artifacts.require('SimpleToken');
|
||||
|
||||
contract('SimpleToken', accounts => {
|
||||
contract('SimpleToken', function ([_, creator]) {
|
||||
let token;
|
||||
const creator = accounts[0];
|
||||
|
||||
beforeEach(async function () {
|
||||
token = await SimpleToken.new({ from: creator });
|
||||
|
||||
Reference in New Issue
Block a user