Skip to content

Commit 9178d7f

Browse files
[HIA-390]
Fixing smoke test
1 parent 4c0c645 commit 9178d7f

File tree

1 file changed

+30
-2
lines changed
  • src/test/kotlin/uk/gov/justice/digital/hmpps/hmppsintegrationapi/smoke/person

1 file changed

+30
-2
lines changed

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

+30-2
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,37 @@ class PersonSmokeTest : DescribeSpec(
6868
"deliusCrn": "string"
6969
},
7070
"pncId": "string",
71-
"hmppsId": "string"
71+
"hmppsId": "string",
72+
"contactDetails": {
73+
"addresses": [
74+
{
75+
"addressNumber": "string",
76+
"district": "string",
77+
"buildingName": "string",
78+
"county": "string",
79+
"from": "2019-08-24",
80+
"postcode": "string",
81+
"streetName": "string",
82+
"type": {
83+
"code": "string",
84+
"description": "string"
85+
},
86+
"to": "2019-08-24",
87+
"town": "string",
88+
"noFixedAbode": true,
89+
"notes": "string"
90+
}
91+
],
92+
"phoneNumbers": [
93+
{
94+
"number": "string",
95+
"type": "TELEPHONE"
96+
}
97+
],
98+
"emails":null
99+
}
72100
}
73-
}
101+
}">
74102
""".removeWhitespaceAndNewlines(),
75103
)
76104
}

0 commit comments

Comments
 (0)