We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 013240a + 4396fd9 commit c501141Copy full SHA for c501141
test/governance/pausing.test.ts
@@ -65,8 +65,8 @@ describe('Pausing', () => {
65
await setPartialPause(guardian, false)
66
})
67
it('should fail partial pause if not guardian or governor', async function () {
68
- const tx = controller.connect(me.signer).setPauseGuardian(guardian.address)
69
- await expect(tx).revertedWith('Only Governor can call')
+ const tx = controller.connect(me.signer).setPartialPaused(true)
+ await expect(tx).revertedWith('Only Governor or Guardian can call')
70
71
it('should check that a function fails when partialPause is set', async function () {
72
await setPartialPause(governor, true)
0 commit comments