From 56959d56e3d65a7c48bd85152f93a5799cf5b626 Mon Sep 17 00:00:00 2001 From: Andrada Nyirestyan Date: Tue, 23 Jan 2024 14:05:40 +0200 Subject: [PATCH] chore: fix broken gitlab test Signed-off-by: Ariadna Roman-Angheluta --- test/scripts/generate-org-data.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/scripts/generate-org-data.test.ts b/test/scripts/generate-org-data.test.ts index 187aefda..f4d16233 100644 --- a/test/scripts/generate-org-data.test.ts +++ b/test/scripts/generate-org-data.test.ts @@ -211,8 +211,8 @@ describe('generateOrgImportDataFile Gitlab script', () => { }); }); - it('throws an error when Gitlab Orgs requested without sourceUrl', async () => { - process.env.GITLAB_TOKEN = process.env.TEST_GITLAB_TOKEN; + it('throws an error when Gitlab Orgs requested without valid token', async () => { + process.env.GITLAB_TOKEN = 'invalid-token'; const groupId = 'groupIdExample'; expect(