You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/test/kotlin/uk/gov/justice/digital/hmpps/hmppsintegrationapi/controllers/v1/person/PersonControllerTest.kt
+8-6
Original file line number
Diff line number
Diff line change
@@ -334,7 +334,11 @@ internal class PersonControllerTest(
334
334
},
335
335
"pncId":null,
336
336
"hmppsId":null,
337
-
"contactDetails":null
337
+
"contactDetails":null,
338
+
"currentRestriction": null,
339
+
"restrictionMessage": null,
340
+
"currentExclusion": null,
341
+
"exclusionMessage": null
338
342
},
339
343
"probationOffenderSearch":{
340
344
"underActiveSupervision":true,
@@ -345,7 +349,6 @@ internal class PersonControllerTest(
345
349
"gender":null,
346
350
"ethnicity":null,
347
351
"aliases":[
348
-
349
352
],
350
353
"identifiers":{
351
354
"nomisNumber":"1234ABC",
@@ -355,10 +358,10 @@ internal class PersonControllerTest(
355
358
"pncId":null,
356
359
"hmppsId":null,
357
360
"contactDetails":null,
358
-
"currentRestriction": false,
361
+
"currentRestriction": null,
359
362
"restrictionMessage": null,
360
-
"currentExclusion": true,
361
-
"exclusionMessage": "An exclusion exists"
363
+
"currentExclusion": null,
364
+
"exclusionMessage": null
362
365
}
363
366
}
364
367
}
@@ -368,7 +371,6 @@ internal class PersonControllerTest(
368
371
}
369
372
370
373
describe("GET $basePath/$encodedHmppsId/name") {
371
-
val prisonOffenderSearch = POSPrisoner("Sam", "Smith")
0 commit comments