Skip to content

Commit d5ceb84

Browse files
committed
Correction: match spec lar set to table filters
1 parent a56f1bf commit d5ceb84

File tree

1 file changed

+1
-2
lines changed
  • publication/src/test/scala/hmda/publication/reports/disclosure

1 file changed

+1
-2
lines changed

publication/src/test/scala/hmda/publication/reports/disclosure/D53Spec.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,11 @@ class D53Spec extends AsyncWordSpec with MustMatchers with LarGenerators with Be
2828

2929
val respId = "98765"
3030
val fips = 18700 //Corvallis, OR
31-
def loanType = Gen.oneOf(2, 3, 4).sample.get
3231
def propType = Gen.oneOf(1, 2).sample.get
3332

3433
val lars = lar100ListGen.sample.get.map { lar: LoanApplicationRegister =>
3534
val geo = lar.geography.copy(msa = fips.toString)
36-
val loan = lar.loan.copy(loanType = loanType, propertyType = propType, purpose = 1)
35+
val loan = lar.loan.copy(propertyType = propType, purpose = 3)
3736
lar.copy(respondentId = respId, geography = geo, loan = loan)
3837
}
3938

0 commit comments

Comments
 (0)