Skip to content

Commit

Permalink
Fix branch in [Bitrise] tests (badges#10439)
Browse files Browse the repository at this point in the history
  • Loading branch information
PyvesB authored Aug 4, 2024
1 parent 4e8c75d commit 1a09e9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion services/bitrise/bitrise.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default class Bitrise extends BaseJsonService {
}),
pathParam({
name: 'branch',
example: 'master',
example: 'develop',
}),
queryParam({
name: 'token',
Expand Down
4 changes: 2 additions & 2 deletions services/bitrise/bitrise.tester.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ t.create('deploy status')
})

t.create('deploy status with branch')
.get('/e736852157296019/master.json?token=vhgAmaiF3tWZoQyFLkKM7g')
.get('/e736852157296019/develop.json?token=vhgAmaiF3tWZoQyFLkKM7g')
.expectBadge({
label: 'bitrise',
message: isBuildStatus,
Expand All @@ -25,5 +25,5 @@ t.create('invalid token')
.expectBadge({ label: 'bitrise', message: 'app not found or invalid token' })

t.create('invalid App ID')
.get('/invalid/master.json?token=vhgAmaiF3tWZoQyFLkKM7g')
.get('/invalid/develop.json?token=vhgAmaiF3tWZoQyFLkKM7g')
.expectBadge({ label: 'bitrise', message: 'app not found or invalid token' })

0 comments on commit 1a09e9a

Please sign in to comment.