Skip to content

Commit c501141

Browse files
authored
Merge pull request #856 from graphprotocol/mde/partial-pause-test
fix: pausing test for should fail partial pause if not guardian or governor
2 parents 013240a + 4396fd9 commit c501141

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/governance/pausing.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ describe('Pausing', () => {
6565
await setPartialPause(guardian, false)
6666
})
6767
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')
68+
const tx = controller.connect(me.signer).setPartialPaused(true)
69+
await expect(tx).revertedWith('Only Governor or Guardian can call')
7070
})
7171
it('should check that a function fails when partialPause is set', async function () {
7272
await setPartialPause(governor, true)

0 commit comments

Comments
 (0)