|
|
@ -146,7 +146,7 @@ describe('AccessControl', function () { |
|
|
|
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 }); |
|
|
|