From 4713b7c2d2a4b3597d63513a5c7ce9d4b7035d6a Mon Sep 17 00:00:00 2001 From: Benjamin Janssens Date: Mon, 9 Sep 2024 16:19:14 +0200 Subject: [PATCH] fix: update tests Signed-off-by: Benjamin Janssens --- .../src/actions/bitbucketCloudPullRequest.examples.test.ts | 4 ++-- .../src/actions/bitbucketCloudPullRequest.test.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/scaffolder-backend-module-bitbucket-cloud/src/actions/bitbucketCloudPullRequest.examples.test.ts b/plugins/scaffolder-backend-module-bitbucket-cloud/src/actions/bitbucketCloudPullRequest.examples.test.ts index 6b30efaa0b..48ecae0944 100644 --- a/plugins/scaffolder-backend-module-bitbucket-cloud/src/actions/bitbucketCloudPullRequest.examples.test.ts +++ b/plugins/scaffolder-backend-module-bitbucket-cloud/src/actions/bitbucketCloudPullRequest.examples.test.ts @@ -171,11 +171,11 @@ describe('publish:bitbucketCloud:pull-request', () => { const responseOfPullRequests = { type: '', links: { - self: { + self: { href: '', name: '' }, + html: { href: 'https://bitbucket.org/workspace/repo/pull-requests/1', name: '', }, - html: { href: '', name: '' }, commits: { href: '', name: '' }, approve: { href: '', name: '' }, diff: { href: '', name: '' }, diff --git a/plugins/scaffolder-backend-module-bitbucket-cloud/src/actions/bitbucketCloudPullRequest.test.ts b/plugins/scaffolder-backend-module-bitbucket-cloud/src/actions/bitbucketCloudPullRequest.test.ts index ef900a57c7..b4db3f78c6 100644 --- a/plugins/scaffolder-backend-module-bitbucket-cloud/src/actions/bitbucketCloudPullRequest.test.ts +++ b/plugins/scaffolder-backend-module-bitbucket-cloud/src/actions/bitbucketCloudPullRequest.test.ts @@ -200,11 +200,11 @@ describe('publish:bitbucketCloud:pull-request', () => { const responseOfPullRequests = { type: '', links: { - self: { + self: { href: '', name: '' }, + html: { href: 'https://bitbucket.org/workspace/repo/pull-requests/1', name: '', }, - html: { href: '', name: '' }, commits: { href: '', name: '' }, approve: { href: '', name: '' }, diff: { href: '', name: '' },