Skip to content

Commit 6f17fea

Browse files
author
Bingjie Liu
committed
fix smoke test
1 parent e24b68e commit 6f17fea

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

+4-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ class EPFPersonDetailSmokeTest : DescribeSpec(
2222
response.body().shouldEqualJson(
2323
"""
2424
{
25+
"data": {
2526
"nomsId": "string",
2627
"name": {
2728
"forename": "string",
@@ -44,7 +45,9 @@ class EPFPersonDetailSmokeTest : DescribeSpec(
4445
"ogrsScore": -9007199254740991,
4546
"age": -9007199254740991,
4647
"ageAtRelease": -9007199254740991
47-
}
48+
},
49+
"errors": []
50+
}
4851
""".removeWhitespaceAndNewlines(),
4952
)
5053
}

0 commit comments

Comments
 (0)