Edward Kang created FINERACT-2518:
-------------------------------------
Summary: Fix to Savings account tests
Key: FINERACT-2518
URL: https://issues.apache.org/jira/browse/FINERACT-2518
Project: Apache Fineract
Issue Type: Bug
Reporter: Edward Kang
Attachments: Screenshot 2026-03-02 at 6.53.46 PM-1.png, Screenshot
2026-03-02 at 6.53.46 PM.png
After investigating, it turns out PRs have been failing due to a mismatch
between the CI/CD date locality (Asia/Kolkata) and date locality used in
SavingsAccountsExternalIdTests (UTC).
Failed CI/CD tests are similar between commits, and rely on this formattedDate
of UTC:
!image-2026-03-02-18-54-46-408.png!
Proposition is to change the hardcoded UTC to getLocalDateOfTenant() which is
also hardcoded to Asia/Kolkata. This is better than using system date, which
could depend on the location of the user if testing locally.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)