Skip to content

Commit ce5aea8

Browse files
committed
DL-18141 - fix tests
1 parent 4ccf96d commit ce5aea8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/controllers/nonUKReg/UpdateNonUKBusinessRegistrationControllerSpec.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ class UpdateNonUKBusinessRegistrationControllerSpec extends PlaySpec with GuiceO
132132
status(result) must be(OK)
133133
val document = Jsoup.parse(contentAsString(result))
134134

135-
document.title() must be("What is your client’s overseas registered business name and address? - GOV.UK")
135+
document.title() must be("What is your client’s overseas registered business name and address? - Register for ATED - GOV.UK")
136136
document.getElementsByClass("govuk-caption-xl").text() must be("This section is: Add a client")
137137
document.getElementsByTag("h1").text() must include("What is your client’s overseas registered business name and address?")
138138
document.getElementsByClass("govuk-caption-xl").text() must be("This section is: Add a client")
@@ -210,7 +210,7 @@ class UpdateNonUKBusinessRegistrationControllerSpec extends PlaySpec with GuiceO
210210
status(result) must be(OK)
211211
val document = Jsoup.parse(contentAsString(result))
212212

213-
document.title() must be("What is the registered business name and address of your overseas agency? - GOV.UK")
213+
document.title() must be("What is the registered business name and address of your overseas agency? - Register for ATED - GOV.UK")
214214
document.getElementsByTag("h1").text() must include("What is the registered business name and address of your overseas agency?")
215215
document.getElementsByClass("govuk-caption-xl").text() must be("This section is: ATED agency set up")
216216

test/controllers/nonUKReg/UpdateOverseasCompanyRegControllerSpec.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ class UpdateOverseasCompanyRegControllerSpec extends PlaySpec with GuiceOneServe
105105
status(result) must be(OK)
106106
val document = Jsoup.parse(contentAsString(result))
107107

108-
document.title() must be("Do you have an overseas company registration number? - GOV.UK")
108+
document.title() must be("Do you have an overseas company registration number? - Register for ATED - GOV.UK")
109109
}
110110
}
111111

@@ -127,7 +127,7 @@ class UpdateOverseasCompanyRegControllerSpec extends PlaySpec with GuiceOneServe
127127
status(result) must be(OK)
128128
val document = Jsoup.parse(contentAsString(result))
129129

130-
document.title() must be("Do you have an overseas company registration number? - GOV.UK")
130+
document.title() must be("Do you have an overseas company registration number? - Register for ATED - GOV.UK")
131131

132132
}
133133
}

0 commit comments

Comments
 (0)