Skip to content

Commit e24b68e

Browse files
author
Bingjie Liu
committed
fix smoke test
1 parent 0595f61 commit e24b68e

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

src/main/resources/application-local-docker.yml

+2
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ authorisation:
4646
- "/health/readiness"
4747
- "/health/liveness"
4848
- "/info"
49+
config-test:
50+
- "/v1/config/authorisation"
4951

5052
hmpps.sqs:
5153
provider: localstack

src/test/kotlin/uk/gov/justice/digital/hmpps/hmppsintegrationapi/smoke/EPFPersonDetailSmokeTest.kt

+5-8
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,20 @@ class EPFPersonDetailSmokeTest : DescribeSpec(
2222
response.body().shouldEqualJson(
2323
"""
2424
{
25-
"data": {
2625
"nomsId": "string",
2726
"name": {
2827
"forename": "string",
2928
"middleName": "string",
3029
"surname": "string"
3130
},
32-
"dateOfBirth":"2019-08-24",
31+
"dateOfBirth": "2019-08-24",
3332
"gender": "string",
3433
"sentence": {
35-
"date": "2019-08-24",
34+
"date": null,
3635
"sentencingCourt": {
37-
"name": "string"
36+
"name": null
3837
},
39-
"releaseDate":"2019-08-24"
38+
"releaseDate": null
4039
},
4140
"responsibleProvider": {
4241
"code": "string",
@@ -45,9 +44,7 @@ class EPFPersonDetailSmokeTest : DescribeSpec(
4544
"ogrsScore": -9007199254740991,
4645
"age": -9007199254740991,
4746
"ageAtRelease": -9007199254740991
48-
},
49-
"errors": []
50-
}
47+
}
5148
""".removeWhitespaceAndNewlines(),
5249
)
5350
}

0 commit comments

Comments
 (0)