Skip to content

Commit

Permalink
[MODFIN-391-2]. Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
BKadirkhodjaev committed Jan 6, 2025
1 parent 3ebe550 commit bc176ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/org/folio/rest/impl/FinanceDataApiTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public void positive_testUpdateFinanceData() {
fyFinanceData.setBudgetAllowableExpenditure(expectedNumber);
fyFinanceData.setBudgetAllowableEncumbrance(expectedNumber);

var updatedCollection = new FyFinanceDataCollection().withFyFinanceData(List.of(fyFinanceData)).withTotalRecords(1);
var updatedCollection = new FyFinanceDataCollection().withFyFinanceData(List.of(fyFinanceData)).withUpdateType(FyFinanceDataCollection.UpdateType.COMMIT).withTotalRecords(1);

// Update finance data as a bulk
var updateResponse = putData(FINANCE_DATA_ENDPOINT, JsonObject.mapFrom(updatedCollection).encodePrettily(), TENANT_HEADER);
Expand Down

0 comments on commit bc176ae

Please sign in to comment.