Skip to content

Commit 3f50fda

Browse files
author
Nick Grippin
committed
fix tests after filter
1 parent 719c7e3 commit 3f50fda

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

publication/src/test/scala/hmda/publication/reports/national/N52ProtocolSpec.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class N52ProtocolSpec extends PropSpec with PropertyChecks with MustMatchers {
1919
n52.toJson mustBe JsObject(
2020
"table" -> JsString("5-2"),
2121
"type" -> JsString("NationalAggregate"),
22-
"desc" -> JsString("Disposition of applications for conventional home purchase loans on 1-to-4 family and manufactured home dwellings"),
22+
"desc" -> JsString("Disposition of Applications for Conventional Home-Purchase Loans, 1-to-4 Family and Manufactured Home Dwellings, by Income, Race, and Ethnicity of Applicant"),
2323
"year" -> JsNumber(n52.year),
2424
"reportDate" -> JsString(n52.reportDate),
2525
"applicantIncomes" -> n52.applicantIncomes.toJson,

publication/src/test/scala/hmda/publication/reports/national/N52Spec.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class N52Spec extends AsyncWordSpec with MustMatchers with LarGenerators with Be
2525
system.terminate()
2626
}
2727

28-
val fips = CbsaLookup.values.map(_.cbsa).filterNot(_.isEmpty)
28+
val fips = CbsaLookup.values.map(_.cbsa).filterNot(f => f.isEmpty || f == "99999")
2929
val fipsGen = Gen.oneOf(fips)
3030
def propType = Gen.oneOf(1, 2).sample.get
3131

0 commit comments

Comments
 (0)