Replace error strings with custom errors (#4261)
This commit is contained in:
@ -16,7 +16,8 @@ contract('AccessControlDefaultAdminRules', function (accounts) {
|
||||
it('initial admin not zero', async function () {
|
||||
await expectRevert(
|
||||
AccessControlDefaultAdminRules.new(delay, constants.ZERO_ADDRESS),
|
||||
'AccessControl: 0 default admin',
|
||||
'AccessControlInvalidDefaultAdmin',
|
||||
[constants.ZERO_ADDRESS],
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user