ruzeynalov commented on code in PR #5849:
URL: https://github.com/apache/fineract/pull/5849#discussion_r3266439799


##########
fineract-e2e-tests-runner/src/test/resources/features/WorkingCapitalNearBreachEvaluation.feature:
##########
@@ -295,11 +269,14 @@ Feature: Working Capital Near Breach Evaluation
     And Admin successfully approves the working capital loan on "01 January 
2026" with "9000" amount and expected disbursement date on "01 January 2026"
     When Admin successfully disburse the Working Capital loan on "01 January 
2026" with "9000" EUR transaction amount
     And Admin runs inline COB job for Working Capital Loan by loanId
+    # P1: 01-01 -> 02-28 (2 months). freq=58d -> candidate eval at 02-28 == 
toDate (breach due date).
+    # Per spec: no near-breach evaluation on breach due date -> eval excluded. 
Period has zero applicable eval points.
+    # No eval ran -> nearBreach stays null. Breach evaluation at period end: 
outstanding=500>0 -> breach=true.
     When Admin sets the business date to "01 March 2026"
     And Admin runs inline COB job for Working Capital Loan by loanId
     Then Working Capital loan breach schedule has the following data:
       | periodNumber | fromDate   | toDate     | minPaymentAmount | 
outstandingAmount | nearBreach | breach |
-      | 1            | 2026-01-01 | 2026-02-28 | 500.00           | 500.00     
       | true       | true   |
+      | 1            | 2026-01-01 | 2026-02-28 | 500.00           | 500.00     
       | null       | true   |

Review Comment:
   @adamsaghy fixed in Gherkin test



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to