Skip to content

Commit

Permalink
PI-2543 Use East of England template for GOV.UK Notify (#4423)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-bcl authored Nov 12, 2024
1 parent a38cd4d commit 69d4abb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
enabled: false # TODO set this to true when you're ready to deploy your service

generic-service:
ingress:
host: appointment-reminders-and-delius.hmpps.service.justice.gov.uk
Expand All @@ -8,6 +6,7 @@ generic-service:
SENTRY_ENVIRONMENT: prod
SPRING_SECURITY_OAUTH2_RESOURCESERVER_JWT_JWK_SET_URI: https://sign-in.hmpps.service.justice.gov.uk/auth/.well-known/jwks.json
SPRING_SECURITY_OAUTH2_RESOURCESERVER_JWT_ISSUER_URI: https://sign-in.hmpps.service.justice.gov.uk/auth/issuer
GOVUK-NOTIFY_TEMPLATES_UPW-APPOINTMENT-REMINDER: 4895f1a9-50b7-481e-9fca-2ac0f8d200d2

jobs:
unpaid-work-appointment-reminders:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ internal class IntegrationTest {
verify(notificationClient).sendSms(
"cd713c1b-1b27-45a0-b493-37a34666635a",
"07000000000",
mapOf("firstName" to "Test", "date" to "01/01/2000"),
mapOf("FirstName" to "Test", "NextWorkSession" to "01/01/2000"),
"123, 456"
)
verify(telemetryService).trackEvent(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class UnpaidWorkAppointmentsService(
notificationClient.sendSms(
templateId,
it.mobileNumber,
mapOf("firstName" to it.firstName, "date" to it.appointmentDate),
mapOf("FirstName" to it.firstName, "NextWorkSession" to it.appointmentDate),
it.upwAppointmentIds
)
telemetryService.trackEvent(
Expand Down

0 comments on commit 69d4abb

Please sign in to comment.