Update all dependencies transitively (#2363)
This commit is contained in:
committed by
GitHub
parent
bf4c9d700d
commit
ace35fdeda
@ -42,7 +42,7 @@ describe('AccessControl', function () {
|
||||
it('non-admin cannot grant role to other accounts', async function () {
|
||||
await expectRevert(
|
||||
this.accessControl.grantRole(ROLE, authorized, { from: other }),
|
||||
'AccessControl: sender must be an admin to grant'
|
||||
'AccessControl: sender must be an admin to grant',
|
||||
);
|
||||
});
|
||||
|
||||
@ -76,7 +76,7 @@ describe('AccessControl', function () {
|
||||
it('non-admin cannot revoke role', async function () {
|
||||
await expectRevert(
|
||||
this.accessControl.revokeRole(ROLE, authorized, { from: other }),
|
||||
'AccessControl: sender must be an admin to revoke'
|
||||
'AccessControl: sender must be an admin to revoke',
|
||||
);
|
||||
});
|
||||
|
||||
@ -110,7 +110,7 @@ describe('AccessControl', function () {
|
||||
it('only the sender can renounce their roles', async function () {
|
||||
await expectRevert(
|
||||
this.accessControl.renounceRole(ROLE, authorized, { from: admin }),
|
||||
'AccessControl: can only renounce roles for self'
|
||||
'AccessControl: can only renounce roles for self',
|
||||
);
|
||||
});
|
||||
|
||||
@ -170,14 +170,14 @@ describe('AccessControl', function () {
|
||||
it('a role\'s previous admins no longer grant roles', async function () {
|
||||
await expectRevert(
|
||||
this.accessControl.grantRole(ROLE, authorized, { from: admin }),
|
||||
'AccessControl: sender must be an admin to grant'
|
||||
'AccessControl: sender must be an admin to grant',
|
||||
);
|
||||
});
|
||||
|
||||
it('a role\'s previous admins no longer revoke roles', async function () {
|
||||
await expectRevert(
|
||||
this.accessControl.revokeRole(ROLE, authorized, { from: admin }),
|
||||
'AccessControl: sender must be an admin to revoke'
|
||||
'AccessControl: sender must be an admin to revoke',
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user