Skip to content

Commit

Permalink
fix: update e2e tests to new error messages
Browse files Browse the repository at this point in the history
Signed-off-by: Tomás Migone <tomas@edgeandnode.com>
  • Loading branch information
tmigone committed Oct 27, 2022
1 parent 27902cc commit e3a668e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion e2e/deployment/config/l1/l1GraphTokenGateway.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe('[L1] L1GraphTokenGateway configuration', function () {
describe('calls with unauthorized user', () => {
it('initialize should revert', async function () {
const tx = L1GraphTokenGateway.connect(unauthorized).initialize(unauthorized.address)
await expect(tx).revertedWith('Caller must be the implementation')
await expect(tx).revertedWith('Only implementation')
})

it('setArbitrumAddresses should revert', async function () {
Expand Down
2 changes: 1 addition & 1 deletion e2e/deployment/config/l2/l2GraphTokenGateway.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe('[L2] L2GraphTokenGateway configuration', function () {
describe('calls with unauthorized user', () => {
it('initialize should revert', async function () {
const tx = L2GraphTokenGateway.connect(unauthorized).initialize(unauthorized.address)
await expect(tx).revertedWith('Caller must be the implementation')
await expect(tx).revertedWith('Only implementation')
})

it('setL2Router should revert', async function () {
Expand Down

0 comments on commit e3a668e

Please sign in to comment.