Skip to content

Commit 9a7ba10

Browse files
authored
PI-2668 Update reference for SMS messages (#4470)
1 parent 72924c3 commit 9a7ba10

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

projects/appointment-reminders-and-delius/src/integrationTest/kotlin/uk/gov/justice/digital/hmpps/IntegrationTest.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ internal class IntegrationTest {
9090
"cd713c1b-1b27-45a0-b493-37a34666635a",
9191
"07000000000",
9292
mapOf("FirstName" to "Test", "NextWorkSession" to "01/01/2000"),
93-
"123, 456"
93+
"A123456:01/01/2000:123, 456"
9494
)
9595
verify(telemetryService).trackEvent(
9696
"SentUnpaidWorkAppointmentReminder",

projects/appointment-reminders-and-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/service/UnpaidWorkAppointmentsService.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class UnpaidWorkAppointmentsService(
2121
templateId,
2222
it.mobileNumber,
2323
mapOf("FirstName" to it.firstName, "NextWorkSession" to it.appointmentDate),
24-
it.upwAppointmentIds
24+
"${it.crn}:${it.appointmentDate}:${it.upwAppointmentIds}"
2525
)
2626
telemetryService.trackEvent(
2727
"SentUnpaidWorkAppointmentReminder",

0 commit comments

Comments
 (0)