Fix linter errors
This commit is contained in:
@ -144,11 +144,11 @@ describe('AccessControl', function () {
|
|||||||
beforeEach(async function () {
|
beforeEach(async function () {
|
||||||
const receipt = await this.accessControl.setRoleAdmin(ROLE, OTHER_ROLE);
|
const receipt = await this.accessControl.setRoleAdmin(ROLE, OTHER_ROLE);
|
||||||
expectEvent(receipt, 'RoleAdminChanged', {
|
expectEvent(receipt, 'RoleAdminChanged', {
|
||||||
role: ROLE,
|
role: ROLE,
|
||||||
previousAdminRole: DEFAULT_ADMIN_ROLE,
|
previousAdminRole: DEFAULT_ADMIN_ROLE,
|
||||||
newAdminRole: OTHER_ROLE
|
newAdminRole: OTHER_ROLE,
|
||||||
});
|
});
|
||||||
|
|
||||||
await this.accessControl.grantRole(OTHER_ROLE, otherAdmin, { from: admin });
|
await this.accessControl.grantRole(OTHER_ROLE, otherAdmin, { from: admin });
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user