Commit 81e36d2e by Vittorio Minacori Committed by Nicolás Venturo

Fix from account in remove public role behaviors (#1710)

parent 35d8e860
......@@ -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 }));
});
});
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment