diff --git a/test/behaviors/access/roles/PublicRole.behavior.js b/test/behaviors/access/roles/PublicRole.behavior.js index 3a673e6a0..8b803d456 100644 --- a/test/behaviors/access/roles/PublicRole.behavior.js +++ b/test/behaviors/access/roles/PublicRole.behavior.js @@ -101,11 +101,11 @@ function shouldBehaveLikePublicRole (authorized, otherAuthorized, [anyone], role }); it('reverts when removing from an unassigned account', async function () { - await shouldFail.reverting(this.contract[`remove${rolename}`](anyone), { from }); + await shouldFail.reverting(this.contract[`remove${rolename}`](anyone, { from })); }); it('reverts when removing role from the null account', async function () { - await shouldFail.reverting(this.contract[`remove${rolename}`](ZERO_ADDRESS), { from }); + await shouldFail.reverting(this.contract[`remove${rolename}`](ZERO_ADDRESS, { from })); }); }); });