Skip to content

Commit

Permalink
DDCNL-9316 - Fixed failed test case
Browse files Browse the repository at this point in the history
  • Loading branch information
jmsatheesh committed Aug 19, 2024
1 parent 4a580b5 commit c37b341
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/errorHandler/ErrorHandlerSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class ErrorHandlerSpec extends UnitSpec with GuiceOneAppPerSuite with Injecting{
val docHeading = doc.select("#errorHeading").text()
val docMessage = doc.select("#errorText").text()

docTitle shouldBe title + " - " + messages("title.pattern")
docTitle shouldBe title + " - Marriage Allowance - GOV.UK"
docHeading shouldBe heading
docMessage shouldBe message
}
Expand All @@ -66,7 +66,7 @@ class ErrorHandlerSpec extends UnitSpec with GuiceOneAppPerSuite with Injecting{
val doc: Document = Jsoup.parse(notFoundTemplate.toString())

val docTitle = doc.title()
docTitle should include(messages("title.pattern"))
docTitle should include("Marriage Allowance - GOV.UK")
}
}
}

0 comments on commit c37b341

Please sign in to comment.