Skip to content

Commit

Permalink
SASS-11099 - hardcoded jointlyLet to false
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-oppong-beduh committed Feb 14, 2025
1 parent 0c91ddd commit 465f67b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/services/MergeService.scala
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ class MergeService @Inject() (implicit
s"\nclaimExpensesOrRRRYesNo = $claimExpensesOrRRRYesNo"
)
val rentalsAndRaRAboutStoreAnswers = (claimPropertyIncomeAllowanceYesOrNo, claimExpensesOrRRRYesNo)
rentalsAndRaRAboutStoreAnswers.merge((jointlyLet, uKOtherPropertyMaybe))
rentalsAndRaRAboutStoreAnswers.merge((jointlyLet.orElse(Some(false)), uKOtherPropertyMaybe))
}

def mergeRaRAbout(
Expand All @@ -392,7 +392,7 @@ class MergeService @Inject() (implicit
ukop <- resultFromPeriodicDownstream.ukOtherProperty
} yield ukop

rentARoomAllowancesStoreAnswers.merge((jointlyLet, uKOtherPropertyMaybe))
rentARoomAllowancesStoreAnswers.merge((jointlyLet.orElse(Some(false)), uKOtherPropertyMaybe))
}

def mergeStatuses(resultFromRepository: Map[String, JourneyAnswers]): List[JourneyWithStatus] =
Expand Down

0 comments on commit 465f67b

Please # to comment.