Skip to content

Commit

Permalink
Merge pull request #3 from webconnex/adjust-household-values
Browse files Browse the repository at this point in the history
update presence of children
  • Loading branch information
danrigall authored Mar 8, 2024
2 parents da2375d + 08d139d commit aaec376
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fc/household.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type HomeInfo struct {
}

type Presence struct {
Children string `json:"children"`
PresenceOfChildren string `json:"presenceOfChildren"`
MultigenerationalResident string `json:"multigenerationalResident"`
}

Expand Down
2 changes: 1 addition & 1 deletion fc/person_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func TestPersonEnrich(t *testing.T) {
assert.Equal(t, "14", response.Details.Household.LocationInfo.CongressionalDistrict)
assert.Equal(t, 222, response.Details.Household.LocationInfo.NumericCountyCode)
assert.Equal(t, "PRESENT", response.Details.Household.Presence.MultigenerationalResident)
assert.Equal(t, "PRESENT", response.Details.Household.Presence.Children)
assert.Equal(t, "Y", response.Details.Household.Presence.PresenceOfChildren)

// Finance
assert.Equal(t, "$30,000 - $39,999", response.Details.Household.Finance.Income)
Expand Down
2 changes: 1 addition & 1 deletion fc/person_test.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
},
"presence": {
"multigenerationalResident": "PRESENT",
"children": "PRESENT"
"presenceOfChildren": "Y"
},
"finance" : {
"income" : "$30,000 - $39,999",
Expand Down

0 comments on commit aaec376

Please sign in to comment.