diff --git a/test/access/AccessControl.test.js b/test/access/AccessControl.test.js index 4e4424e0c..40dd5980d 100644 --- a/test/access/AccessControl.test.js +++ b/test/access/AccessControl.test.js @@ -144,11 +144,11 @@ describe('AccessControl', function () { beforeEach(async function () { const receipt = await this.accessControl.setRoleAdmin(ROLE, OTHER_ROLE); expectEvent(receipt, 'RoleAdminChanged', { - role: ROLE, - previousAdminRole: DEFAULT_ADMIN_ROLE, - newAdminRole: OTHER_ROLE + role: ROLE, + previousAdminRole: DEFAULT_ADMIN_ROLE, + newAdminRole: OTHER_ROLE, }); - + await this.accessControl.grantRole(OTHER_ROLE, otherAdmin, { from: admin }); });