Skip to content

Commit

Permalink
Merge pull request #409 from hmrc/DDCE-4621
Browse files Browse the repository at this point in the history
DDCE-4621 Update backend to include countryOfResidence + nationality + dependency updates
  • Loading branch information
zmdnoor authored Oct 17, 2023
2 parents 922a03f + 293ceaa commit 74ce4d9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/models/variation/Settlors.scala
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ object WillType {
case class AmendDeceasedSettlor(name: NameType,
dateOfBirth: Option[LocalDate],
dateOfDeath: Option[LocalDate],
countryOfResidence: Option[String],
nationality: Option[String],
identification: Option[IdentificationType])

object AmendDeceasedSettlor {
Expand Down
1 change: 1 addition & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ resolvers += Resolver.url("HMRC-open-artefacts-ivy", url("https://open.artefacts
// Try to remove when sbt 1.8.0+ and scoverage is 2.0.7+
ThisBuild / libraryDependencySchemes += "org.scala-lang.modules" %% "scala-xml" % VersionScheme.Always


addSbtPlugin("uk.gov.hmrc" % "sbt-auto-build" % "3.14.0")
addSbtPlugin("uk.gov.hmrc" % "sbt-distributables" % "2.2.0")
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.8.20")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,8 @@ class AmendSettlorControllerSpec extends AnyFreeSpec with MockitoSugar with Scal
name = NameType("John", None, "Doe"),
dateOfBirth = None,
dateOfDeath = None,
countryOfResidence = None,
nationality = None,
identification = None
)

Expand Down
4 changes: 4 additions & 0 deletions test/transformers/settlors/AmendSettlorTransformSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,8 @@ class AmendSettlorTransformSpec extends AnyFreeSpec {
name = NameType("updated first", None, "updated last"),
dateOfBirth = None,
dateOfDeath = None,
countryOfResidence = None,
nationality = None,
identification = None
)

Expand Down Expand Up @@ -318,6 +320,8 @@ class AmendSettlorTransformSpec extends AnyFreeSpec {
name = NameType("updated first", None, "updated last"),
dateOfBirth = None,
dateOfDeath = None,
countryOfResidence = None,
nationality = None,
identification = None
)

Expand Down

0 comments on commit 74ce4d9

Please sign in to comment.