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/TransactionsControllerTest.kt
+1-1
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ class TransactionsControllerTest(
35
35
val hmppsId = "200313116M"
36
36
val prisonId = "ABC"
37
37
val accountCode = "spends"
38
-
val basePath = "/v1/prison/$prisonId/prisoners/$hmppsId/transactions/$accountCode"
38
+
val basePath = "/v1/prison/$prisonId/prisoners/$hmppsId/accounts/$accountCode/transactions"
39
39
val mockMvc = IntegrationAPIMockMvc(springMockMvc)
Copy file name to clipboardexpand all lines: src/test/kotlin/uk/gov/justice/digital/hmpps/hmppsintegrationapi/integration/TransactionsIntegrationTest.kt
+3-4
Original file line number
Diff line number
Diff line change
@@ -11,12 +11,11 @@ class TransactionsIntegrationTest : IntegrationTestBase() {
11
11
val accountCode ="spends"
12
12
finalval fromDate ="2024-01-01"
13
13
finalval toDate ="2024-01-14"
14
-
val transactionsPath ="/v1/prison"
15
14
var dateQueryParams ="?from_date=$fromDate&to_date=$toDate"
16
15
17
16
@Test
18
17
fun`return a list of transactions for a prisoner`() {
0 commit comments