From db698342c36c5cc85a78490df3f80bcc60c2c447 Mon Sep 17 00:00:00 2001 From: Satya Josyula <74477958+satyajosyula2020@users.noreply.github.com> Date: Fri, 13 Oct 2023 18:19:31 +0100 Subject: [PATCH] DC-5283 : Update template name fro LPi1 to LPI1 (#1103) --- .../penaltyreform/PenReformTemplates.scala | 12 ++++++------ ...cala.html => newMessageAlert_LPI1.scala.html} | 0 ....scala.txt => newMessageAlert_LPI1.scala.txt} | 0 ...a.html => newMessageAlert_LPI1_cy.scala.html} | 0 ...ala.txt => newMessageAlert_LPI1_cy.scala.txt} | 0 .../templates/TemplateLocatorSpec.scala | 4 ++-- .../NewMessageAlert_PenReformSpec.scala | 16 ++++++++-------- 7 files changed, 16 insertions(+), 16 deletions(-) rename app/uk/gov/hmrc/hmrcemailrenderer/templates/penaltyreform/{newMessageAlert_LPi1.scala.html => newMessageAlert_LPI1.scala.html} (100%) rename app/uk/gov/hmrc/hmrcemailrenderer/templates/penaltyreform/{newMessageAlert_LPi1.scala.txt => newMessageAlert_LPI1.scala.txt} (100%) rename app/uk/gov/hmrc/hmrcemailrenderer/templates/penaltyreform/{newMessageAlert_LPi1_cy.scala.html => newMessageAlert_LPI1_cy.scala.html} (100%) rename app/uk/gov/hmrc/hmrcemailrenderer/templates/penaltyreform/{newMessageAlert_LPi1_cy.scala.txt => newMessageAlert_LPI1_cy.scala.txt} (100%) diff --git a/app/uk/gov/hmrc/hmrcemailrenderer/templates/penaltyreform/PenReformTemplates.scala b/app/uk/gov/hmrc/hmrcemailrenderer/templates/penaltyreform/PenReformTemplates.scala index 118ae7b21..27e071284 100644 --- a/app/uk/gov/hmrc/hmrcemailrenderer/templates/penaltyreform/PenReformTemplates.scala +++ b/app/uk/gov/hmrc/hmrcemailrenderer/templates/penaltyreform/PenReformTemplates.scala @@ -42,21 +42,21 @@ object PenReformTemplates { priority = Some(MessagePriority.Standard) ), MessageTemplate.create( - templateId = "newMessageAlert_LPi1", + templateId = "newMessageAlert_LPI1", fromAddress = govUkTeamAddress, service = PenReform, subject = "You’ve got a new message from HMRC", - plainTemplate = txt.newMessageAlert_LPi1.f, - htmlTemplate = html.newMessageAlert_LPi1.f, + plainTemplate = txt.newMessageAlert_LPI1.f, + htmlTemplate = html.newMessageAlert_LPI1.f, priority = Some(MessagePriority.Standard) ), MessageTemplate.create( - templateId = "newMessageAlert_LPi1_cy", + templateId = "newMessageAlert_LPI1_cy", fromAddress = govUkTeamAddress, service = PenReform, subject = "Mae gennych neges newydd oddi wrth CThEF", - plainTemplate = txt.newMessageAlert_LPi1_cy.f, - htmlTemplate = html.newMessageAlert_LPi1_cy.f, + plainTemplate = txt.newMessageAlert_LPI1_cy.f, + htmlTemplate = html.newMessageAlert_LPI1_cy.f, priority = Some(MessagePriority.Standard) ) ) diff --git a/app/uk/gov/hmrc/hmrcemailrenderer/templates/penaltyreform/newMessageAlert_LPi1.scala.html b/app/uk/gov/hmrc/hmrcemailrenderer/templates/penaltyreform/newMessageAlert_LPI1.scala.html similarity index 100% rename from app/uk/gov/hmrc/hmrcemailrenderer/templates/penaltyreform/newMessageAlert_LPi1.scala.html rename to app/uk/gov/hmrc/hmrcemailrenderer/templates/penaltyreform/newMessageAlert_LPI1.scala.html diff --git a/app/uk/gov/hmrc/hmrcemailrenderer/templates/penaltyreform/newMessageAlert_LPi1.scala.txt b/app/uk/gov/hmrc/hmrcemailrenderer/templates/penaltyreform/newMessageAlert_LPI1.scala.txt similarity index 100% rename from app/uk/gov/hmrc/hmrcemailrenderer/templates/penaltyreform/newMessageAlert_LPi1.scala.txt rename to app/uk/gov/hmrc/hmrcemailrenderer/templates/penaltyreform/newMessageAlert_LPI1.scala.txt diff --git a/app/uk/gov/hmrc/hmrcemailrenderer/templates/penaltyreform/newMessageAlert_LPi1_cy.scala.html b/app/uk/gov/hmrc/hmrcemailrenderer/templates/penaltyreform/newMessageAlert_LPI1_cy.scala.html similarity index 100% rename from app/uk/gov/hmrc/hmrcemailrenderer/templates/penaltyreform/newMessageAlert_LPi1_cy.scala.html rename to app/uk/gov/hmrc/hmrcemailrenderer/templates/penaltyreform/newMessageAlert_LPI1_cy.scala.html diff --git a/app/uk/gov/hmrc/hmrcemailrenderer/templates/penaltyreform/newMessageAlert_LPi1_cy.scala.txt b/app/uk/gov/hmrc/hmrcemailrenderer/templates/penaltyreform/newMessageAlert_LPI1_cy.scala.txt similarity index 100% rename from app/uk/gov/hmrc/hmrcemailrenderer/templates/penaltyreform/newMessageAlert_LPi1_cy.scala.txt rename to app/uk/gov/hmrc/hmrcemailrenderer/templates/penaltyreform/newMessageAlert_LPI1_cy.scala.txt diff --git a/test/uk/gov/hmrc/hmrcemailrenderer/templates/TemplateLocatorSpec.scala b/test/uk/gov/hmrc/hmrcemailrenderer/templates/TemplateLocatorSpec.scala index 0beccc2d0..8c66dd3f3 100644 --- a/test/uk/gov/hmrc/hmrcemailrenderer/templates/TemplateLocatorSpec.scala +++ b/test/uk/gov/hmrc/hmrcemailrenderer/templates/TemplateLocatorSpec.scala @@ -592,8 +592,8 @@ class TemplateLocatorSpec extends AnyWordSpecLike with should.Matchers with Opti "newMessageAlert_IgnorePaperFiling", "newMessageAlert_LPP4", "newMessageAlert_LPP4_cy", - "newMessageAlert_LPi1", - "newMessageAlert_LPi1_cy", + "newMessageAlert_LPI1", + "newMessageAlert_LPI1_cy", "newMessageAlert_P800", "newMessageAlert_P800_D2", "newMessageAlert_P800_D2_cy", diff --git a/test/uk/gov/hmrc/hmrcemailrenderer/templates/penaltyreform/NewMessageAlert_PenReformSpec.scala b/test/uk/gov/hmrc/hmrcemailrenderer/templates/penaltyreform/NewMessageAlert_PenReformSpec.scala index 0e7cbb014..92f807f87 100644 --- a/test/uk/gov/hmrc/hmrcemailrenderer/templates/penaltyreform/NewMessageAlert_PenReformSpec.scala +++ b/test/uk/gov/hmrc/hmrcemailrenderer/templates/penaltyreform/NewMessageAlert_PenReformSpec.scala @@ -96,15 +96,15 @@ class NewMessageAlert_PenReformSpec extends PlaySpec with CommonParamsForSpec { } } - "newMessageAlert_LPi1" must { + "newMessageAlert_LPI1" must { val newMessageAlert: MessageTemplate = MessageTemplate.create( - templateId = "newMessageAlert_LPi1", + templateId = "newMessageAlert_LPI1", fromAddress = "HMRC@tax.service.gov.uk", service = PenReform, subject = "You’ve got a new message from HMRC", - plainTemplate = txt.newMessageAlert_LPi1.f, - htmlTemplate = html.newMessageAlert_LPi1.f, + plainTemplate = txt.newMessageAlert_LPI1.f, + htmlTemplate = html.newMessageAlert_LPI1.f, priority = Some(MessagePriority.Standard) ) @@ -132,15 +132,15 @@ class NewMessageAlert_PenReformSpec extends PlaySpec with CommonParamsForSpec { } } - "newMessageAlert_LPi1_cy welsh template" must { + "newMessageAlert_LPI1_cy welsh template" must { val newMessageAlert: MessageTemplate = MessageTemplate.create( - templateId = "newMessageAlert_LPi1_cy", + templateId = "newMessageAlert_LPI1_cy", fromAddress = "HMRC@tax.service.gov.uk", service = PenReform, subject = "Mae gennych neges newydd oddi wrth CThEF", - plainTemplate = txt.newMessageAlert_LPi1_cy.f, - htmlTemplate = html.newMessageAlert_LPi1_cy.f, + plainTemplate = txt.newMessageAlert_LPI1_cy.f, + htmlTemplate = html.newMessageAlert_LPI1_cy.f, priority = Some(MessagePriority.Standard) )