This is an automated email from the ASF dual-hosted git repository.

adamsaghy pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git

commit e17303fcb9a9bd38cf6afe57e7a205a5a911cf63
Author: Monica <[email protected]>
AuthorDate: Sat Jan 3 12:09:31 2026 +0530

    FINERACT-2206: Fix date inconsistency in SavingsInterestPostingTest
    
    Fixed startDate from dynamic current year to hardcoded 2025 in
    testPostInterestNotZero() to maintain consistent 2025 timeline.
    Resolves HTTP 400 error caused by date mismatches.
---
 .../apache/fineract/integrationtests/SavingsInterestPostingTest.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/integration-tests/src/test/java/org/apache/fineract/integrationtests/SavingsInterestPostingTest.java
 
b/integration-tests/src/test/java/org/apache/fineract/integrationtests/SavingsInterestPostingTest.java
index 098b9a9624..5b026c3842 100644
--- 
a/integration-tests/src/test/java/org/apache/fineract/integrationtests/SavingsInterestPostingTest.java
+++ 
b/integration-tests/src/test/java/org/apache/fineract/integrationtests/SavingsInterestPostingTest.java
@@ -340,7 +340,7 @@ public class SavingsInterestPostingTest {
                     interestReceivableAccount.getAccountID().toString(), 
assetAccount, incomeAccount, expenseAccount, liabilityAccount);
 
             final Integer clientId = ClientHelper.createClient(requestSpec, 
responseSpec, "01 January 2025");
-            final LocalDate startDate = 
LocalDate.of(LocalDate.now(Utils.getZoneIdOfTenant()).getYear(), 1, 1);
+            final LocalDate startDate = LocalDate.of(2025, 1, 1);
             final String startStr = DateTimeFormatter.ofPattern("dd MMMM 
yyyy", Locale.US).format(startDate);
 
             final Integer accountId = 
savingsAccountHelper.applyForSavingsApplicationOnDate(clientId, productId,

Reply via email to