mirror of
https://github.com/badges/shields.git
synced 2025-04-18 19:44:04 +03:00
Fix branch in [Bitrise] tests (#10439)
This commit is contained in:
parent
4e8c75d0f4
commit
1a09e9a30b
@ -45,7 +45,7 @@ export default class Bitrise extends BaseJsonService {
|
||||
}),
|
||||
pathParam({
|
||||
name: 'branch',
|
||||
example: 'master',
|
||||
example: 'develop',
|
||||
}),
|
||||
queryParam({
|
||||
name: 'token',
|
||||
|
@ -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,
|
||||
@ -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' })
|
||||
|
Loading…
x
Reference in New Issue
Block a user