From 8cfd9c64266fcddfbc3a996472d08d7fd5247e75 Mon Sep 17 00:00:00 2001 From: Rahul Gautam Singh Date: Sun, 24 Nov 2024 18:22:10 +0530 Subject: [PATCH] fix tests --- lib/modules/platform/gitlab/index.spec.ts | 2 +- lib/modules/platform/gitlab/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/modules/platform/gitlab/index.spec.ts b/lib/modules/platform/gitlab/index.spec.ts index 982e970381594d..9dbfa141788df3 100644 --- a/lib/modules/platform/gitlab/index.spec.ts +++ b/lib/modules/platform/gitlab/index.spec.ts @@ -3208,7 +3208,7 @@ describe('modules/platform/gitlab/index', () => { number: 1, prTitle: 'title', prBody: 'body', - state: 'opened', + state: 'open', addLabels: ['new_label'], removeLabels: ['old_label'], }), diff --git a/lib/modules/platform/gitlab/index.ts b/lib/modules/platform/gitlab/index.ts index bbe68984c5c8c0..e533ba70db696c 100644 --- a/lib/modules/platform/gitlab/index.ts +++ b/lib/modules/platform/gitlab/index.ts @@ -818,7 +818,7 @@ export async function updatePr({ ) ).body; - const updatedPr: Pr = massagePr(prInfo(updatedPrInfo)); + const updatedPr: Pr = prInfo(updatedPrInfo); if (config.prList) { const existingIndex = config.prList.findIndex(