Fix/rename anyone account #1357 (#1718)

* replacing all instances of from: anyone with from: other

* replacing all instances of from: anyone with from: other

* replacing all instances of from: anyone with from: other

* changing anyone to other

* changing anyone to other
This commit is contained in:
ckshei
2019-04-11 08:34:10 -07:00
committed by Nicolás Venturo
parent d45f0c89db
commit 19c705d928
20 changed files with 107 additions and 107 deletions

View File

@ -3,7 +3,7 @@ const { ZERO_ADDRESS } = constants;
const SecondaryMock = artifacts.require('SecondaryMock');
contract('Secondary', function ([_, primary, newPrimary, anyone]) {
contract('Secondary', function ([_, primary, newPrimary, other]) {
beforeEach(async function () {
this.secondary = await SecondaryMock.new({ from: primary });
});
@ -18,7 +18,7 @@ contract('Secondary', function ([_, primary, newPrimary, anyone]) {
});
it('reverts when anyone calls onlyPrimary functions', async function () {
await shouldFail.reverting(this.secondary.onlyPrimaryMock({ from: anyone }));
await shouldFail.reverting(this.secondary.onlyPrimaryMock({ from: other }));
});
});
@ -34,7 +34,7 @@ contract('Secondary', function ([_, primary, newPrimary, anyone]) {
});
it('reverts when called by anyone', async function () {
await shouldFail.reverting(this.secondary.transferPrimary(newPrimary, { from: anyone }));
await shouldFail.reverting(this.secondary.transferPrimary(newPrimary, { from: other }));
});
context('with new primary', function () {