Skip to content

Commit 546bc32

Browse files
author
zl0ty
committed
fix api endpoint in tests
1 parent 476f077 commit 546bc32

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ describe('isAutomerging', () => {
5757
});
5858

5959
describe('getPullRequests', () => {
60-
const pullRequestsEndpoint = `/2.0/pullrequests/${BITBUCKET_WORKSPACE}/pullrequests/${RENOVATE_BOT_USER}`;
60+
const pullRequestsEndpoint = `/2.0/workspaces/${BITBUCKET_WORKSPACE}/pullrequests/${RENOVATE_BOT_USER}`;
6161

6262
it('gets pull-requests in a single page', async () => {
6363
nock(API_BASE_URL)

0 commit comments

Comments
 (0)