Skip to content

Commit 8657a2d

Browse files
MIA-1551 enable other transport (#245)
1 parent 4f2b2e2 commit 8657a2d

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
update tap.transport
2+
set active = true,
3+
description = 'Other'
4+
where code = 'TNR';

src/test/kotlin/uk/gov/justice/digital/hmpps/externalmovementsapi/integration/tap/authorisation/ChangeAuthorisationTransportIntTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class ChangeAuthorisationTransportIntTest(
7979
assertThat(res.domainEvents).containsExactly(TemporaryAbsenceAuthorisationTransportChanged.EVENT_TYPE)
8080
assertThat(res.reason).isEqualTo(request.reason)
8181
assertThat(res.changes).containsExactly(
82-
AuditedAction.Change("transport", "Prisoner driver", "Not Required"),
82+
AuditedAction.Change("transport", "Prisoner driver", "Other"),
8383
)
8484

8585
val saved = requireNotNull(findTemporaryAbsenceAuthorisation(auth.id))

src/test/kotlin/uk/gov/justice/digital/hmpps/externalmovementsapi/integration/tap/occurrence/ChangeTapOccurrenceTransportIntTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class ChangeTapOccurrenceTransportIntTest(
7373
AuditedAction.Change(
7474
"transport",
7575
occurrence.transport.description,
76-
"Not Required",
76+
"Other",
7777
),
7878
)
7979

@@ -113,7 +113,7 @@ class ChangeTapOccurrenceTransportIntTest(
113113
AuditedAction.Change(
114114
"transport",
115115
occurrence.transport.description,
116-
"Not Required",
116+
"Other",
117117
),
118118
)
119119

0 commit comments

Comments
 (0)