We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55c8333 commit d3dd255Copy full SHA for d3dd255
src/test/kotlin/uk/gov/justice/digital/hmpps/hmppsintegrationapi/smoke/person/RisksSmokeTest.kt
@@ -59,6 +59,23 @@ class RisksSmokeTest : DescribeSpec(
59
)
60
}
61
62
+ it("returns risk categories for a person") {
63
+ val response = httpClient.performAuthorised("$basePath/categories")
64
+
65
+ response.statusCode().shouldBe(HttpStatus.OK.value())
66
+ response.body().shouldEqualJson(
67
+ """
68
+ {
69
+ "data": {
70
+ "offenderNo": null,
71
+ "assessments": []
72
+ }
73
74
75
+ """.removeWhitespaceAndNewlines(),
76
+ )
77
78
79
it("returns rosh risks for a person") {
80
val response = httpClient.performAuthorised(basePath)
81
0 commit comments