Skip to content

Commit

Permalink
Added sublocations to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zack-rma committed Aug 14, 2024
1 parent de8d597 commit e7f8914
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,11 @@ private WaterSupplyAccounting buildTestAccounting() {
private List<PumpAccounting> buildTestPumpAccountingList() {
List<PumpAccounting> retList = new ArrayList<>();
retList.add(new PumpAccounting.Builder().withPumpLocation(new CwmsId.Builder().withOfficeId(OFFICE)
.withName("Test Pump").build()).withTransferType(new LookupType.Builder().withActive(true)
.withName("Test Location-Test Pump").build()).withTransferType(new LookupType.Builder().withActive(true)
.withTooltip("Test Tool Tip").withOfficeId(OFFICE).withDisplayValue("Test Transfer Type").build())
.withFlow(1.0).withTransferDate(Instant.ofEpochMilli(10000012648000L)).withComment("Test Comment").build());
retList.add(new PumpAccounting.Builder().withPumpLocation(new CwmsId.Builder().withOfficeId(OFFICE)
.withName("Test Pump 2").build()).withTransferType(new LookupType.Builder().withActive(true)
.withName("Test Location-Test Pump 2").build()).withTransferType(new LookupType.Builder().withActive(true)
.withTooltip("Test Tool Tip 2").withOfficeId(OFFICE).withDisplayValue("Test Transfer Type 2").build())
.withFlow(2.0).withTransferDate(Instant.ofEpochMilli(10000012648000L)).withComment("Test Comment 2").build());
return retList;
Expand Down

0 comments on commit e7f8914

Please sign in to comment.