FINERACT-2181: Fix the API to return interestRecognitionOnDisbursementDate in GetLoanProductsResponse

This commit is contained in:
mariiaKraievska
2025-04-14 16:21:12 +02:00
committed by Adam Saghy
parent f8d5bde921
commit 245b095195
3 changed files with 37 additions and 0 deletions
@@ -207,3 +207,9 @@ Feature: LoanProduct
| Fraud | | 2 | true | false |
| Delinquent | | 3 | true | false |
| Other | | 4 | true | false |
Scenario: As a user I would like to verify interestRecognitionOnDisbursementDate flag in loan product response
When Admin sets the business date to "01 January 2025"
When Admin creates a client with random data
And Admin successfully creates a new customised Loan submitted on date: "01 January 2025", with Principal: "1000", a loanTermFrequency: 1 months, and numberOfRepayments: 1
Then Loan Product response contains interestRecognitionOnDisbursementDate flag with value "false"