Skip to content

Commit f61191c

Browse files
Format and DEV
1 parent 70ba717 commit f61191c

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

src/main/resources/application-dev.yml

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ authorisation:
6464
- "/v1/persons/.*/sentences/latest-key-dates-and-adjustments"
6565
- "/v1/persons/.*/risks/scores"
6666
- "/v1/persons/.*/risks/serious-harm"
67+
- "/v1/persons/.*/risks/dynamic"
6768
- "/v1/persons/.*/licences/conditions"
6869
- "/v1/persons/.*/person-responsible-officer"
6970
event-service:

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

+10-11
Original file line numberDiff line numberDiff line change
@@ -117,17 +117,16 @@ class RisksSmokeTest : DescribeSpec(
117117
response.body().shouldEqualJson(
118118
"""
119119
{
120-
"data":
121-
[
122-
{
123-
"code": "RCCO",
124-
"description": "Child protection issues",
125-
"startDate": "2018-07-27",
126-
"reviewDate": "2026-03-20",
127-
"notes": "These notes are about the person."
128-
}
129-
]
130-
}
120+
"data": [
121+
{
122+
"code": "RCCO",
123+
"description": "Child protection issues",
124+
"startDate": "2018-07-27",
125+
"reviewDate": "2026-03-20",
126+
"notes": "These notes are about the person."
127+
}
128+
]
129+
}
131130
""".removeWhitespaceAndNewlines(),
132131
)
133132
}

0 commit comments

Comments
 (0)