From ad73184ffa42badf270f64ae04fac32af44e6d6a Mon Sep 17 00:00:00 2001 From: Azizbek Khushvakov Date: Wed, 19 Jun 2024 20:02:49 +0500 Subject: [PATCH] fixed unit test --- .../java/org/folio/service/transactions/PaymentCreditTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/folio/service/transactions/PaymentCreditTest.java b/src/test/java/org/folio/service/transactions/PaymentCreditTest.java index 676ce157..a8fe2941 100644 --- a/src/test/java/org/folio/service/transactions/PaymentCreditTest.java +++ b/src/test/java/org/folio/service/transactions/PaymentCreditTest.java @@ -691,7 +691,7 @@ void testCancelCreditWithLinkedEncumbrance(VertxTestContext testContext) { assertThat(savedEncumbrance.getAmount(), equalTo(0d)); assertThat(savedEncumbrance.getEncumbrance().getAmountAwaitingPayment(), equalTo(0d)); assertThat(savedEncumbrance.getEncumbrance().getAmountExpended(), equalTo(5d)); - assertThat(savedEncumbrance.getEncumbrance().getAmountCredited(), equalTo(10d)); + assertThat(savedEncumbrance.getEncumbrance().getAmountCredited(), equalTo(0d)); // Verify budget update assertThat(updateTableNames.get(1), equalTo(BUDGET_TABLE));