Skip to content

Commit

Permalink
Update AtsAnnualTaxReturnWelshSpec.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
satyajosyula2020 committed Dec 1, 2023
1 parent 3ad2144 commit fa0249c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 <noreply@tax.service.gov.uk>"
}
Expand Down

0 comments on commit fa0249c

Please sign in to comment.