Skip to content
This repository was archived by the owner on Sep 2, 2024. It is now read-only.

Commit 487739b

Browse files
fix all tests
1 parent 63f38cd commit 487739b

File tree

4 files changed

+131
-60
lines changed

4 files changed

+131
-60
lines changed

demo-ui/test/uk/gov/ons/addressIndex/demoui/client/AddressIndexClientMock.scala

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ class AddressIndexClientMock @Inject()(override val client: WSClient, conf: Demo
4646
verbose = true,
4747
epoch = "",
4848
countryBoosts = CountryBoosts(1.0,1.0,1.0,42.0,1.0,1.0,1.0),
49-
pafdefault = false
49+
pafdefault = false,
50+
matchtype = "",
51+
recommendationCode = ""
5052
)
5153

5254
val mockAddressByPostcodeResponse: AddressByPostcodeResponse = AddressByPostcodeResponse(

demo-ui/test/uk/gov/ons/addressIndex/demoui/utils/RelativesExpanderNoAppTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import uk.gov.ons.addressIndex.demoui.modules.DemouiConfigModuleMock
1212
import uk.gov.ons.addressIndex.model.AddressIndexUPRNRequest
1313
import uk.gov.ons.addressIndex.model.db.index.{ExpandedRelative, ExpandedSibling}
1414
import uk.gov.ons.addressIndex.model.server.response.address.{AddressResponseAddressNonIDS, AddressResponseRelative}
15-
import uk.gov.ons.addressIndex.model.server.response.uprn.{AddressByUprnResponseNonIDS, AddressByUprnResponseContainer}
15+
import uk.gov.ons.addressIndex.model.server.response.uprn.{AddressByUprnResponse, AddressByUprnResponseContainer}
1616

1717
import scala.concurrent.{ExecutionContext, Future}
1818

0 commit comments

Comments
 (0)