tests: fix Codeship service tests (#7307)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
This commit is contained in:
@@ -3,7 +3,7 @@ import { createServiceTester } from '../tester.js'
|
||||
export const t = await createServiceTester()
|
||||
|
||||
t.create('codeship (valid, no branch)')
|
||||
.get('/d6c1ddd0-16a3-0132-5f85-2e35c05e22b1.json')
|
||||
.get('/30419df0-80ff-0135-f7fb-06994b6b032d.json')
|
||||
.expectBadge({
|
||||
label: 'build',
|
||||
message: isBuildStatus,
|
||||
@@ -21,5 +21,5 @@ t.create('codeship (repo not found)')
|
||||
.expectBadge({ label: 'build', message: 'project not found' })
|
||||
|
||||
t.create('codeship (branch not found)')
|
||||
.get('/d6c1ddd0-16a3-0132-5f85-2e35c05e22b1/not-a-branch.json')
|
||||
.get('/30419df0-80ff-0135-f7fb-06994b6b032d/not-a-branch.json')
|
||||
.expectBadge({ label: 'build', message: 'branch not found' })
|
||||
|
||||
Reference in New Issue
Block a user