From fa0249c0187ffe747bd980096a6cc2a0bb592b5b Mon Sep 17 00:00:00 2001 From: satyajosyula2020 Date: Fri, 1 Dec 2023 15:01:22 +0000 Subject: [PATCH] Update AtsAnnualTaxReturnWelshSpec.scala --- .../templates/AtsTemplates/AtsAnnualTaxReturnWelshSpec.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/uk/gov/hmrc/hmrcemailrenderer/templates/AtsTemplates/AtsAnnualTaxReturnWelshSpec.scala b/test/uk/gov/hmrc/hmrcemailrenderer/templates/AtsTemplates/AtsAnnualTaxReturnWelshSpec.scala index dccb89c6f..7396a5887 100644 --- a/test/uk/gov/hmrc/hmrcemailrenderer/templates/AtsTemplates/AtsAnnualTaxReturnWelshSpec.scala +++ b/test/uk/gov/hmrc/hmrcemailrenderer/templates/AtsTemplates/AtsAnnualTaxReturnWelshSpec.scala @@ -36,8 +36,8 @@ class AtsAnnualTaxReturnWelshSpec val params = commonParameters ++ TemplateParams.newMessageAlert_Names "render correct subject" in { - val taxYearFrom = LocalDate.now().getYear - 2 - val taxYearTo = LocalDate.now().getYear - 1 + val taxYearFrom = LocalDate.now().getYear - 1 + val taxYearTo = LocalDate.now().getYear template.subject(Map.empty) shouldBe (s"Mae’ch Crynodeb Treth Blynyddol ar gyfer $taxYearFrom i $taxYearTo bellach yn barod") template.fromAddress(Map.empty) shouldBe "CThEM – Eich Crynodeb Treth Blynyddol " }