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:
Caleb Cartwright
2021-11-21 15:05:59 -06:00
committed by GitHub
parent 92090bd447
commit 95a439a1cc

View File

@@ -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' })