From 1a8cc1c2b6c2a4b00dc954015552c1dede1c1950 Mon Sep 17 00:00:00 2001 From: Kapil Sanghvi <22366606+kjainsc@users.noreply.github.com> Date: Wed, 14 Feb 2024 17:07:48 +0000 Subject: [PATCH] DC-5810 Introduce staticHmrcFrontendVersion --- .../templates/bars/bars.scala.html | 2 +- .../templates/bars/barsTransaction.scala.html | 2 +- .../childcareMainTemplate.scala.html | 2 +- .../helpers/template_main.scala.html | 12 +++-- .../templates/rald/rald.scala.html | 2 +- conf/application.conf | 3 +- .../templates/CommonParamsForSpec.scala | 2 +- ...eloperAsCollaboratorConfirmationSpec.scala | 12 ++--- ...eloperAsCollaboratorNotificationSpec.scala | 12 ++--- ...eloperAsCollaboratorConfirmationSpec.scala | 10 ++-- ...eloperAsCollaboratorConfirmationSpec.scala | 12 ++--- ...plicationToBeDeletedNotificationSpec.scala | 18 +++---- .../api/ApiDeveloperPasswordResetSpec.scala | 8 ++-- ...PasswordChangedConfirmationEmailSpec.scala | 2 +- ...iRemovedCollaboratorConfirmationSpec.scala | 8 ++-- ...iRemovedCollaboratorNotificationSpec.scala | 11 +++-- .../api/ApiVerificationEmailSpec.scala | 12 ++--- .../ApiCatalogueReportParamsSpec.scala | 48 +++++++++---------- .../PlatformContactConfirmationSpec.scala | 18 +++---- .../apicatalogue/PlatformContactSpec.scala | 16 +++---- 20 files changed, 108 insertions(+), 104 deletions(-) diff --git a/app/uk/gov/hmrc/hmrcemailrenderer/templates/bars/bars.scala.html b/app/uk/gov/hmrc/hmrcemailrenderer/templates/bars/bars.scala.html index f273dc0d7..6e7ed5098 100644 --- a/app/uk/gov/hmrc/hmrcemailrenderer/templates/bars/bars.scala.html +++ b/app/uk/gov/hmrc/hmrcemailrenderer/templates/bars/bars.scala.html @@ -39,7 +39,7 @@ diff --git a/app/uk/gov/hmrc/hmrcemailrenderer/templates/bars/barsTransaction.scala.html b/app/uk/gov/hmrc/hmrcemailrenderer/templates/bars/barsTransaction.scala.html index bb18ea67c..b26bfdca0 100644 --- a/app/uk/gov/hmrc/hmrcemailrenderer/templates/bars/barsTransaction.scala.html +++ b/app/uk/gov/hmrc/hmrcemailrenderer/templates/bars/barsTransaction.scala.html @@ -39,7 +39,7 @@
- GOV.UK + GOV.UK GOV.UK
diff --git a/app/uk/gov/hmrc/hmrcemailrenderer/templates/childcare/childcareMainTemplate.scala.html b/app/uk/gov/hmrc/hmrcemailrenderer/templates/childcare/childcareMainTemplate.scala.html index 6dc1d8bd5..e7df84eb1 100644 --- a/app/uk/gov/hmrc/hmrcemailrenderer/templates/childcare/childcareMainTemplate.scala.html +++ b/app/uk/gov/hmrc/hmrcemailrenderer/templates/childcare/childcareMainTemplate.scala.html @@ -74,7 +74,7 @@
- GOV.UK + GOV.UK GOV.UK - +
diff --git a/app/uk/gov/hmrc/hmrcemailrenderer/templates/helpers/template_main.scala.html b/app/uk/gov/hmrc/hmrcemailrenderer/templates/helpers/template_main.scala.html index 589ffd913..85a088ef0 100644 --- a/app/uk/gov/hmrc/hmrcemailrenderer/templates/helpers/template_main.scala.html +++ b/app/uk/gov/hmrc/hmrcemailrenderer/templates/helpers/template_main.scala.html @@ -35,12 +35,12 @@ @if(isWelsh) { - + } else { - + } @@ -61,8 +61,10 @@ +
- - + + + @if(isWelsh) { @@ -117,7 +119,7 @@ - +
diff --git a/app/uk/gov/hmrc/hmrcemailrenderer/templates/rald/rald.scala.html b/app/uk/gov/hmrc/hmrcemailrenderer/templates/rald/rald.scala.html index aeaa81ac2..1a01e3714 100644 --- a/app/uk/gov/hmrc/hmrcemailrenderer/templates/rald/rald.scala.html +++ b/app/uk/gov/hmrc/hmrcemailrenderer/templates/rald/rald.scala.html @@ -39,7 +39,7 @@ diff --git a/conf/application.conf b/conf/application.conf index 5ea61a920..476b25eed 100644 --- a/conf/application.conf +++ b/conf/application.conf @@ -129,7 +129,8 @@ transactionEngine.fromAddress.domain = "confirmation.tax.service.gov.uk" templates { config { staticAssetUrlPrefix = "http://localhost:9032" - staticAssetVersion = "/assets/hmrc-frontend/5.66.0" + staticAssetVersion = "/assets/2.230.0" + staticHmrcFrontendVersion = "/assets/hmrc-frontend/5.66.0" borderColour = "005EA5" } } diff --git a/test/uk/gov/hmrc/hmrcemailrenderer/templates/CommonParamsForSpec.scala b/test/uk/gov/hmrc/hmrcemailrenderer/templates/CommonParamsForSpec.scala index da2c0220e..e36fd899f 100644 --- a/test/uk/gov/hmrc/hmrcemailrenderer/templates/CommonParamsForSpec.scala +++ b/test/uk/gov/hmrc/hmrcemailrenderer/templates/CommonParamsForSpec.scala @@ -19,7 +19,7 @@ package uk.gov.hmrc.hmrcemailrenderer.templates trait CommonParamsForSpec { val commonParameters: Map[String, String] = { - Map("staticAssetVersion" -> "version", "staticAssetUrlPrefix" -> "prefix", "borderColour" -> "#005EA5") + Map("staticHmrcFrontendVersion" -> "version", "staticAssetUrlPrefix" -> "prefix", "borderColour" -> "#005EA5") } } diff --git a/test/uk/gov/hmrc/hmrcemailrenderer/templates/api/ApiAddedDeveloperAsCollaboratorConfirmationSpec.scala b/test/uk/gov/hmrc/hmrcemailrenderer/templates/api/ApiAddedDeveloperAsCollaboratorConfirmationSpec.scala index f5e914040..687646cea 100644 --- a/test/uk/gov/hmrc/hmrcemailrenderer/templates/api/ApiAddedDeveloperAsCollaboratorConfirmationSpec.scala +++ b/test/uk/gov/hmrc/hmrcemailrenderer/templates/api/ApiAddedDeveloperAsCollaboratorConfirmationSpec.scala @@ -29,12 +29,12 @@ class apiAddedDeveloperAsCollaboratorConfirmationSpec extends AnyWordSpec with M val developerHubTitle = "Developer Hub Title" val templateParams = Map( - "applicationName" -> applicationName, - "article" -> article, - "role" -> role, - "staticAssetUrlPrefix" -> "http://uri", - "staticAssetVersion" -> "v1", - "borderColour" -> "#005EA5" + "applicationName" -> applicationName, + "article" -> article, + "role" -> role, + "staticAssetUrlPrefix" -> "http://uri", + "staticHmrcFrontendVersion" -> "v1", + "borderColour" -> "#005EA5" ) "htmlView" should { diff --git a/test/uk/gov/hmrc/hmrcemailrenderer/templates/api/ApiAddedDeveloperAsCollaboratorNotificationSpec.scala b/test/uk/gov/hmrc/hmrcemailrenderer/templates/api/ApiAddedDeveloperAsCollaboratorNotificationSpec.scala index 3fb7c5e08..02acee6dc 100644 --- a/test/uk/gov/hmrc/hmrcemailrenderer/templates/api/ApiAddedDeveloperAsCollaboratorNotificationSpec.scala +++ b/test/uk/gov/hmrc/hmrcemailrenderer/templates/api/ApiAddedDeveloperAsCollaboratorNotificationSpec.scala @@ -29,12 +29,12 @@ class ApiAddedDeveloperAsCollaboratorNotificationSpec extends AnyWordSpec with M val developerHubTitle = "Developer Hub Title" val templateParams = Map( - "email" -> email, - "applicationName" -> applicationName, - "role" -> role, - "staticAssetUrlPrefix" -> "http://uri", - "staticAssetVersion" -> "v1", - "borderColour" -> "#005EA5" + "email" -> email, + "applicationName" -> applicationName, + "role" -> role, + "staticAssetUrlPrefix" -> "http://uri", + "staticHmrcFrontendVersion" -> "v1", + "borderColour" -> "#005EA5" ) "htmlView" should { diff --git a/test/uk/gov/hmrc/hmrcemailrenderer/templates/api/ApiAddedRegisteredDeveloperAsCollaboratorConfirmationSpec.scala b/test/uk/gov/hmrc/hmrcemailrenderer/templates/api/ApiAddedRegisteredDeveloperAsCollaboratorConfirmationSpec.scala index aa3120f70..d1e59773d 100644 --- a/test/uk/gov/hmrc/hmrcemailrenderer/templates/api/ApiAddedRegisteredDeveloperAsCollaboratorConfirmationSpec.scala +++ b/test/uk/gov/hmrc/hmrcemailrenderer/templates/api/ApiAddedRegisteredDeveloperAsCollaboratorConfirmationSpec.scala @@ -28,11 +28,11 @@ class ApiAddedRegisteredDeveloperAsCollaboratorConfirmationSpec extends AnyWordS val developerHubTitle = "Developer Hub Title" val templateParams = Map( - "applicationName" -> applicationName, - "role" -> role, - "staticAssetUrlPrefix" -> "http://uri", - "staticAssetVersion" -> "v1", - "borderColour" -> "#005EA5") + "applicationName" -> applicationName, + "role" -> role, + "staticAssetUrlPrefix" -> "http://uri", + "staticHmrcFrontendVersion" -> "v1", + "borderColour" -> "#005EA5") "htmlView" should { "render as" in new TestCase { diff --git a/test/uk/gov/hmrc/hmrcemailrenderer/templates/api/ApiAddedUnregisteredDeveloperAsCollaboratorConfirmationSpec.scala b/test/uk/gov/hmrc/hmrcemailrenderer/templates/api/ApiAddedUnregisteredDeveloperAsCollaboratorConfirmationSpec.scala index d50c0a1f6..1fbd336df 100644 --- a/test/uk/gov/hmrc/hmrcemailrenderer/templates/api/ApiAddedUnregisteredDeveloperAsCollaboratorConfirmationSpec.scala +++ b/test/uk/gov/hmrc/hmrcemailrenderer/templates/api/ApiAddedUnregisteredDeveloperAsCollaboratorConfirmationSpec.scala @@ -29,12 +29,12 @@ class ApiAddedUnregisteredDeveloperAsCollaboratorConfirmationSpec extends AnyWor val developerHubTitle = "Developer Hub Title" val templateParams = Map( - "applicationName" -> applicationName, - "role" -> role, - "developerHubLink" -> developerHubLink, - "staticAssetUrlPrefix" -> "http://uri", - "staticAssetVersion" -> "v1", - "borderColour" -> "#005EA5" + "applicationName" -> applicationName, + "role" -> role, + "developerHubLink" -> developerHubLink, + "staticAssetUrlPrefix" -> "http://uri", + "staticHmrcFrontendVersion" -> "v1", + "borderColour" -> "#005EA5" ) "htmlView" should { diff --git a/test/uk/gov/hmrc/hmrcemailrenderer/templates/api/ApiApplicationToBeDeletedNotificationSpec.scala b/test/uk/gov/hmrc/hmrcemailrenderer/templates/api/ApiApplicationToBeDeletedNotificationSpec.scala index b58ea1f83..ca36309ed 100644 --- a/test/uk/gov/hmrc/hmrcemailrenderer/templates/api/ApiApplicationToBeDeletedNotificationSpec.scala +++ b/test/uk/gov/hmrc/hmrcemailrenderer/templates/api/ApiApplicationToBeDeletedNotificationSpec.scala @@ -31,15 +31,15 @@ class ApiApplicationToBeDeletedNotificationSpec extends AnyWordSpecLike with Mat val daysToDeletion = "30 days" val templateParams = Map( - "userFirstName" -> userFirstName, - "userLastName" -> userLastName, - "applicationName" -> applicationName, - "environmentName" -> environmentName, - "timeSinceLastUse" -> timeSinceLastUse, - "daysToDeletion" -> daysToDeletion, - "staticAssetUrlPrefix" -> "http://uri", - "staticAssetVersion" -> "v1", - "borderColour" -> "#005EA5" + "userFirstName" -> userFirstName, + "userLastName" -> userLastName, + "applicationName" -> applicationName, + "environmentName" -> environmentName, + "timeSinceLastUse" -> timeSinceLastUse, + "daysToDeletion" -> daysToDeletion, + "staticAssetUrlPrefix" -> "http://uri", + "staticHmrcFrontendVersion" -> "v1", + "borderColour" -> "#005EA5" ) "htmlView" should { diff --git a/test/uk/gov/hmrc/hmrcemailrenderer/templates/api/ApiDeveloperPasswordResetSpec.scala b/test/uk/gov/hmrc/hmrcemailrenderer/templates/api/ApiDeveloperPasswordResetSpec.scala index 610b07dfc..25712ff8c 100644 --- a/test/uk/gov/hmrc/hmrcemailrenderer/templates/api/ApiDeveloperPasswordResetSpec.scala +++ b/test/uk/gov/hmrc/hmrcemailrenderer/templates/api/ApiDeveloperPasswordResetSpec.scala @@ -27,10 +27,10 @@ class ApiDeveloperPasswordResetSpec extends AnyWordSpec with Matchers { val developerHubTitle = "Developer Hub Title" val templateParams = Map( - "resetPasswordLink" -> resetPasswordLink, - "staticAssetUrlPrefix" -> "http://uri", - "staticAssetVersion" -> "v1", - "borderColour" -> "#005EA5") + "resetPasswordLink" -> resetPasswordLink, + "staticAssetUrlPrefix" -> "http://uri", + "staticHmrcFrontendVersion" -> "v1", + "borderColour" -> "#005EA5") "htmlView" should { "render as" in new TestCase { diff --git a/test/uk/gov/hmrc/hmrcemailrenderer/templates/api/ApiPasswordChangedConfirmationEmailSpec.scala b/test/uk/gov/hmrc/hmrcemailrenderer/templates/api/ApiPasswordChangedConfirmationEmailSpec.scala index 79739b3b0..4efee39f2 100644 --- a/test/uk/gov/hmrc/hmrcemailrenderer/templates/api/ApiPasswordChangedConfirmationEmailSpec.scala +++ b/test/uk/gov/hmrc/hmrcemailrenderer/templates/api/ApiPasswordChangedConfirmationEmailSpec.scala @@ -26,7 +26,7 @@ class ApiPasswordChangedConfirmationEmailSpec extends AnyWordSpec with Matchers val developerHubTitle = "Developer Hub Title" val templateParams = - Map("staticAssetUrlPrefix" -> "http://uri", "staticAssetVersion" -> "v1", "borderColour" -> "#005EA5") + Map("staticAssetUrlPrefix" -> "http://uri", "staticHmrcFrontendVersion" -> "v1", "borderColour" -> "#005EA5") "htmlView" should { "render as" in new TestCase { diff --git a/test/uk/gov/hmrc/hmrcemailrenderer/templates/api/ApiRemovedCollaboratorConfirmationSpec.scala b/test/uk/gov/hmrc/hmrcemailrenderer/templates/api/ApiRemovedCollaboratorConfirmationSpec.scala index 1a53c58e4..f8c899d11 100644 --- a/test/uk/gov/hmrc/hmrcemailrenderer/templates/api/ApiRemovedCollaboratorConfirmationSpec.scala +++ b/test/uk/gov/hmrc/hmrcemailrenderer/templates/api/ApiRemovedCollaboratorConfirmationSpec.scala @@ -28,10 +28,10 @@ class ApiRemovedCollaboratorConfirmationSpec extends AnyWordSpecLike with Matche val developerHubTitle = "Developer Hub Title" val templateParams = Map( - "applicationName" -> applicationName, - "staticAssetUrlPrefix" -> "http://uri", - "staticAssetVersion" -> "v1", - "borderColour" -> "#005EA5") + "applicationName" -> applicationName, + "staticAssetUrlPrefix" -> "http://uri", + "staticHmrcFrontendVersion" -> "v1", + "borderColour" -> "#005EA5") "htmlView" should { "render as" in new TestCase { diff --git a/test/uk/gov/hmrc/hmrcemailrenderer/templates/api/ApiRemovedCollaboratorNotificationSpec.scala b/test/uk/gov/hmrc/hmrcemailrenderer/templates/api/ApiRemovedCollaboratorNotificationSpec.scala index 3cf668b4d..b7b1aed22 100644 --- a/test/uk/gov/hmrc/hmrcemailrenderer/templates/api/ApiRemovedCollaboratorNotificationSpec.scala +++ b/test/uk/gov/hmrc/hmrcemailrenderer/templates/api/ApiRemovedCollaboratorNotificationSpec.scala @@ -28,11 +28,12 @@ class ApiRemovedCollaboratorNotificationSpec extends AnyWordSpec with Matchers { val developerHubTitle = "Developer Hub Title" val templateParams = Map( - "email" -> email, - "applicationName" -> applicationName, - "staticAssetUrlPrefix" -> "http://uri", - "staticAssetVersion" -> "v1", - "borderColour" -> "#005EA5") + "email" -> email, + "applicationName" -> applicationName, + "staticAssetUrlPrefix" -> "http://uri", + "staticHmrcFrontendVersion" -> "v1", + "borderColour" -> "#005EA5" + ) "htmlView" should { "render as" in new TestCase { diff --git a/test/uk/gov/hmrc/hmrcemailrenderer/templates/api/ApiVerificationEmailSpec.scala b/test/uk/gov/hmrc/hmrcemailrenderer/templates/api/ApiVerificationEmailSpec.scala index 78c1e7513..380e1db56 100644 --- a/test/uk/gov/hmrc/hmrcemailrenderer/templates/api/ApiVerificationEmailSpec.scala +++ b/test/uk/gov/hmrc/hmrcemailrenderer/templates/api/ApiVerificationEmailSpec.scala @@ -28,12 +28,12 @@ class ApiVerificationEmailSpec extends AnyWordSpecLike with OptionValues with Ma val developerHubTitle = "Developer Hub Title" val templateParams = Map( - "recipientName_title" -> "Mr", - "recipientName_surname" -> "Smith", - "verificationLink" -> verificationLink, - "staticAssetUrlPrefix" -> "http://uri", - "staticAssetVersion" -> "v1", - "borderColour" -> "#005EA5" + "recipientName_title" -> "Mr", + "recipientName_surname" -> "Smith", + "verificationLink" -> verificationLink, + "staticAssetUrlPrefix" -> "http://uri", + "staticHmrcFrontendVersion" -> "v1", + "borderColour" -> "#005EA5" ) "htmlView" should { diff --git a/test/uk/gov/hmrc/hmrcemailrenderer/templates/apicatalogue/ApiCatalogueReportParamsSpec.scala b/test/uk/gov/hmrc/hmrcemailrenderer/templates/apicatalogue/ApiCatalogueReportParamsSpec.scala index df36551a6..5a6e5b719 100644 --- a/test/uk/gov/hmrc/hmrcemailrenderer/templates/apicatalogue/ApiCatalogueReportParamsSpec.scala +++ b/test/uk/gov/hmrc/hmrcemailrenderer/templates/apicatalogue/ApiCatalogueReportParamsSpec.scala @@ -25,36 +25,36 @@ import uk.gov.hmrc.hmrcemailrenderer.templates.apicatalogue.params.ApiCatalogueR class ApiCatalogueReportParamsSpec extends AnyWordSpecLike with OptionValues with Matchers { val paramsWithReasons = Map( - "apiTitle" -> "Corporation Tax", - "senderName" -> "Joe Bloggs", - "senderEmail" -> "joe.bloggs@example.com", - "contactReasons" -> "Test contact reason one|Test contact reason two|Test contact reason three", - "specificQuestion" -> "How many engineers does it to change a light bulb?", - "staticAssetUrlPrefix" -> "http://uri", - "staticAssetVersion" -> "v1", - "borderColour" -> "#005EA5" + "apiTitle" -> "Corporation Tax", + "senderName" -> "Joe Bloggs", + "senderEmail" -> "joe.bloggs@example.com", + "contactReasons" -> "Test contact reason one|Test contact reason two|Test contact reason three", + "specificQuestion" -> "How many engineers does it to change a light bulb?", + "staticAssetUrlPrefix" -> "http://uri", + "staticHmrcFrontendVersion" -> "v1", + "borderColour" -> "#005EA5" ) val paramsWithOneReason = Map( - "apiTitle" -> "Corporation Tax", - "senderName" -> "Joe Bloggs", - "senderEmail" -> "joe.bloggs@example.com", - "contactReasons" -> "Test contact reason one", - "specificQuestion" -> "How many engineers does it to change a light bulb?", - "staticAssetUrlPrefix" -> "http://uri", - "staticAssetVersion" -> "v1", - "borderColour" -> "#005EA5" + "apiTitle" -> "Corporation Tax", + "senderName" -> "Joe Bloggs", + "senderEmail" -> "joe.bloggs@example.com", + "contactReasons" -> "Test contact reason one", + "specificQuestion" -> "How many engineers does it to change a light bulb?", + "staticAssetUrlPrefix" -> "http://uri", + "staticHmrcFrontendVersion" -> "v1", + "borderColour" -> "#005EA5" ) val paramsWithNoReasons = Map( - "apiTitle" -> "Corporation Tax", - "senderName" -> "Joe Bloggs", - "senderEmail" -> "joe.bloggs@example.com", - "contactReasons" -> "", - "specificQuestion" -> "How many engineers does it to change a light bulb?", - "staticAssetUrlPrefix" -> "http://uri", - "staticAssetVersion" -> "v1", - "borderColour" -> "#005EA5" + "apiTitle" -> "Corporation Tax", + "senderName" -> "Joe Bloggs", + "senderEmail" -> "joe.bloggs@example.com", + "contactReasons" -> "", + "specificQuestion" -> "How many engineers does it to change a light bulb?", + "staticAssetUrlPrefix" -> "http://uri", + "staticHmrcFrontendVersion" -> "v1", + "borderColour" -> "#005EA5" ) "ApiCatalogueReportParams" should { diff --git a/test/uk/gov/hmrc/hmrcemailrenderer/templates/apicatalogue/PlatformContactConfirmationSpec.scala b/test/uk/gov/hmrc/hmrcemailrenderer/templates/apicatalogue/PlatformContactConfirmationSpec.scala index ec9912b73..c39fefc3c 100644 --- a/test/uk/gov/hmrc/hmrcemailrenderer/templates/apicatalogue/PlatformContactConfirmationSpec.scala +++ b/test/uk/gov/hmrc/hmrcemailrenderer/templates/apicatalogue/PlatformContactConfirmationSpec.scala @@ -25,15 +25,15 @@ import uk.gov.hmrc.hmrcemailrenderer.templates.apicatalogue class PlatformContactConfirmationSpec extends AnyWordSpecLike with OptionValues with Matchers { val templateParams = Map( - "apiTitle" -> "Corporation Tax", - "senderName" -> "Joe Bloggs", - "senderEmail" -> "joe.bloggs@example.com", - "contactReasons" -> "Test contact reason one|Test contact reason two|Test contact reason three", - "specificQuestion" -> "How many engineers does it to change a light bulb?", - "apiEmail" -> "testApi@example.com", - "staticAssetUrlPrefix" -> "http://uri", - "staticAssetVersion" -> "v1", - "borderColour" -> "#005EA5" + "apiTitle" -> "Corporation Tax", + "senderName" -> "Joe Bloggs", + "senderEmail" -> "joe.bloggs@example.com", + "contactReasons" -> "Test contact reason one|Test contact reason two|Test contact reason three", + "specificQuestion" -> "How many engineers does it to change a light bulb?", + "apiEmail" -> "testApi@example.com", + "staticAssetUrlPrefix" -> "http://uri", + "staticHmrcFrontendVersion" -> "v1", + "borderColour" -> "#005EA5" ) val paragraphWithInlineCss = "

" diff --git a/test/uk/gov/hmrc/hmrcemailrenderer/templates/apicatalogue/PlatformContactSpec.scala b/test/uk/gov/hmrc/hmrcemailrenderer/templates/apicatalogue/PlatformContactSpec.scala index bf29ec638..f1a665a43 100644 --- a/test/uk/gov/hmrc/hmrcemailrenderer/templates/apicatalogue/PlatformContactSpec.scala +++ b/test/uk/gov/hmrc/hmrcemailrenderer/templates/apicatalogue/PlatformContactSpec.scala @@ -25,14 +25,14 @@ import uk.gov.hmrc.hmrcemailrenderer.templates.apicatalogue class PlatformContactSpec extends AnyWordSpecLike with OptionValues with Matchers { val templateParams = Map( - "apiTitle" -> "Corporation Tax", - "senderName" -> "Joe Bloggs", - "senderEmail" -> "joe.bloggs@example.com", - "contactReasons" -> "Test contact reason one|Test contact reason two|Test contact reason three", - "specificQuestion" -> "How many engineers does it to change a light bulb?", - "staticAssetUrlPrefix" -> "http://uri", - "staticAssetVersion" -> "v1", - "borderColour" -> "#005EA5" + "apiTitle" -> "Corporation Tax", + "senderName" -> "Joe Bloggs", + "senderEmail" -> "joe.bloggs@example.com", + "contactReasons" -> "Test contact reason one|Test contact reason two|Test contact reason three", + "specificQuestion" -> "How many engineers does it to change a light bulb?", + "staticAssetUrlPrefix" -> "http://uri", + "staticHmrcFrontendVersion" -> "v1", + "borderColour" -> "#005EA5" ) val paragraphWithInlineCss = "

"

- GOV.UK + GOV.UK GOV.UK