Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rewertvsp committed Nov 14, 2024
1 parent f01ec3a commit 391af1c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ void testGetters() {
person.getAttributes().putAttribute("origin_y", 2.0);
person.getAttributes().putAttribute("destination_x", 3.0);
person.getAttributes().putAttribute("destination_y", 4.0);
person.getAttributes().putAttribute("goods_type", "100");
person.getAttributes().putAttribute("goodsType", "100");
person.getAttributes().putAttribute("tons_per_year", 500.0);
person.getAttributes().putAttribute("origin_locationId", "originLocationId");
person.getAttributes().putAttribute("destination_locationId", "destinationLocationId");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ void setUp() {

private Person createFreightDemandDataRelation(int goodsType) {
Person freightDemandDataRelation = PopulationUtils.getFactory().createPerson(Id.createPersonId("exampleFreightDemandDataRelation"));
freightDemandDataRelation.getAttributes().putAttribute("goods_type", goodsType);
freightDemandDataRelation.getAttributes().putAttribute("goodsType", goodsType);
return freightDemandDataRelation;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ void setUp() {
private Person createFreightDemandDataRelation(String transportType, int goodsType) {

Person freightDemandDataRelation = PopulationUtils.getFactory().createPerson(Id.createPersonId("exampleFreightDemandDataRelation"));
freightDemandDataRelation.getAttributes().putAttribute("goods_type", goodsType);
freightDemandDataRelation.getAttributes().putAttribute("goodsType", goodsType);
freightDemandDataRelation.getAttributes().putAttribute("transportType", transportType);
return freightDemandDataRelation;
}
Expand Down

0 comments on commit 391af1c

Please sign in to comment.