Skip to content

Commit 2fc2707

Browse files
Smoke test for Auth.
1 parent 5399c39 commit 2fc2707

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/resources/application-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ authorisation:
4949
- "/v1/persons/.*/alerts"
5050
- "/v1/persons/.*/alerts/pnd"
5151
- "/v1/persons/.*/sentences"
52-
- "/v1/persons/.*/status-information"
5352
- "/v1/persons/.*/sentences/latest-key-dates-and-adjustments"
5453
- "/v1/persons/.*/risks/scores"
5554
- "/v1/persons/.*/needs"
@@ -65,6 +64,7 @@ authorisation:
6564
- "/v1/persons/.*/risks/mappadetail"
6665
- "/v1/persons/.*/risks/categories"
6766
- "/v1/persons/.*/risk-management-plan"
67+
- "/v1/persons/.*/status-information"
6868
- "/health"
6969
- "/health/ping"
7070
- "/health/readiness"

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ class AuthoriseConfigTest : DescribeSpec(
3939
"/v1/persons/.*/protected-characteristics",
4040
"/v1/persons/.*/risks/mappadetail",
4141
"/v1/persons/.*/risks/categories",
42+
"/v1/persons/.*/status-information",
4243
"/v1/persons/.*/risks/dynamic",
4344
"/v1/persons/.*/case-notes",
44-
"/v1/persons/.*/status-information",
4545
"/v1/persons/.*/person-responsible-officer",
4646
"/v1/persons/.*/risk-management-plan",
4747
"/v1/epf/person-details/.*/\\.*+[^/]*${'$'}",

0 commit comments

Comments
 (0)