Skip to content

Commit bf6e3b6

Browse files
committed
test: fix revert strings
1 parent 80260fd commit bf6e3b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/l2/l2GraphTokenGateway.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,15 +175,15 @@ describe('L2GraphTokenGateway', () => {
175175
})
176176
it('cannot be paused if some state variables are not set', async function () {
177177
let tx = l2GraphTokenGateway.connect(governor.signer).setPaused(false)
178-
await expect(tx).revertedWith('ROUTER_NOT_SET')
178+
await expect(tx).revertedWith('L2_ROUTER_NOT_SET')
179179
await l2GraphTokenGateway.connect(governor.signer).setL2Router(mockRouter.address)
180180
tx = l2GraphTokenGateway.connect(governor.signer).setPaused(false)
181181
await expect(tx).revertedWith('L1_COUNTERPART_NOT_SET')
182182
await l2GraphTokenGateway
183183
.connect(governor.signer)
184184
.setL1CounterpartAddress(mockL1Gateway.address)
185185
tx = l2GraphTokenGateway.connect(governor.signer).setPaused(false)
186-
await expect(tx).revertedWith('L1GRT_NOT_SET')
186+
await expect(tx).revertedWith('L1_GRT_NOT_SET')
187187
})
188188
it('can be paused and unpaused by the governor', async function () {
189189
await fixture.configureL2Bridge(

0 commit comments

Comments
 (0)