JSON format modernisation and _shields_test removal (#3272)

* Modernised JSON format and removed _shields_test style

* Added logoWidth and labelColor fields to JSON response

* Reinstated and updated comment

* Extended expectBadge to accept Joi schemas for all fields
This commit is contained in:
Pierre-Yves B
2019-04-07 18:57:55 +01:00
committed by GitHub
parent 93333509c6
commit 25f8541e5b
75 changed files with 365 additions and 382 deletions

View File

@@ -34,7 +34,5 @@ t.create('unknown user')
// The following build definition has always a partially succeeded status
t.create('partially succeeded build')
.get(
'/totodem/8cf3ec0e-d0c2-4fcd-8206-ad204f254a96/4.json?style=_shields_test'
)
.get('/totodem/8cf3ec0e-d0c2-4fcd-8206-ad204f254a96/4.json')
.expectBadge({ label: 'build', message: 'passing', color: 'orange' })