From e88b7b33505ecc1942308c598fe8477a7ecb5d47 Mon Sep 17 00:00:00 2001 From: Pantelis <85220850+Pantelis-Santorinios@users.noreply.github.com> Date: Thu, 28 Sep 2023 11:58:02 +0200 Subject: [PATCH] Update main.test.ts updating the tests for the new string --- __tests__/main.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/__tests__/main.test.ts b/__tests__/main.test.ts index 9b13898..903fb18 100644 --- a/__tests__/main.test.ts +++ b/__tests__/main.test.ts @@ -228,7 +228,7 @@ describe('run', () => { await run(context) expect(core.setFailed).toHaveBeenCalledWith( - `Dependabot encountered an unexpected problem\n\nError: unexpected error retrieving job params\n\nFor more information see: https://test.dev/foo/bar/network/updates/1 (write access required)` + `Dependabot encountered an unexpected problem\n\nError: unexpected error retrieving job params\n\nFor more information see: https://test.dev/foo/bar/network/updates/1 (write access to the repository is required to view the log)` ) }) @@ -261,7 +261,7 @@ describe('run', () => { await run(context) expect(core.setFailed).toHaveBeenCalledWith( - `Dependabot encountered an unexpected problem\n\nError: fetching job details: received code 400: more details\n\nFor more information see: https://test.dev/foo/bar/network/updates/1 (write access required)` + `Dependabot encountered an unexpected problem\n\nError: fetching job details: received code 400: more details\n\nFor more information see: https://test.dev/foo/bar/network/updates/1 (write access to the repository is required to view the log)` ) }) @@ -417,7 +417,7 @@ describe('run', () => { await run(context) expect(core.setFailed).toHaveBeenCalledWith( - `Dependabot encountered an error performing the update\n\nError: the container melted\n\nFor more information see: https://test.dev/foo/bar/network/updates/1 (write access required)` + `Dependabot encountered an error performing the update\n\nError: the container melted\n\nFor more information see: https://test.dev/foo/bar/network/updates/1 (write access to the repository is required to view the log)` ) }) @@ -455,7 +455,7 @@ describe('run', () => { await run(context) expect(core.setFailed).toHaveBeenCalledWith( - `Dependabot encountered an error performing the update\n\nError: error running the update\n\nFor more information see: https://test.dev/foo/bar/network/updates/1 (write access required)` + `Dependabot encountered an error performing the update\n\nError: error running the update\n\nFor more information see: https://test.dev/foo/bar/network/updates/1 (write access to the repository is required to view the log)` ) })