FINERACT-2181: Batch Api - Add Interest pause API support
This commit is contained in:
@@ -48,6 +48,18 @@ Feature: Batch API
|
||||
When Batch API call with steps done twice: createClient, createLoan, approveLoan, getLoanDetails runs with enclosingTransaction: "false"
|
||||
Then Admin checks that all steps result 200OK
|
||||
|
||||
@TestRailId:C3876
|
||||
Scenario: Create loan, approve, disburse and apply interest pause in a single Batch API call
|
||||
And Run Batch API with steps: createClient, createLoan, approveLoan, disburseLoan, applyInterestPause
|
||||
Then Admin checks that all steps result 200OK
|
||||
And Loan should have an active interest pause period starting on 1st day and ending on 2nd day
|
||||
|
||||
@TestRailId:C3877
|
||||
Scenario: Create loan, approve, disburse and apply interest pause in a single Batch API call by external ids
|
||||
And Run Batch API with steps: createClient, createLoan, approveLoan, disburseLoan, applyInterestPause by external ids
|
||||
Then Admin checks that all steps result 200OK
|
||||
And Loan should have an active interest pause period starting on 1st day and ending on 2nd day
|
||||
|
||||
@TestRailId:C2645
|
||||
Scenario: Verify Batch API call in case of enclosing transaction is FALSE, there are two reference-trees and one of the steps in second tree fails
|
||||
When Batch API call with steps done twice: createClient, createLoan, approveLoan, getLoanDetails runs with enclosingTransaction: "false", with failed approve step in second tree
|
||||
@@ -141,4 +153,4 @@ Feature: Batch API
|
||||
| 01 February 2024 | Repayment | 17.01 | 16.43 | 0.58 | 0.0 | 0.0 | 83.57 |
|
||||
| 01 February 2024 | Accrual | 0.58 | 0.0 | 0.58 | 0.0 | 0.0 | 0.0 |
|
||||
| 01 February 2024 | Charge-off | 83.57 | 83.57 | 0.0 | 0.0 | 0.0 | 0.0 |
|
||||
And Admin checks the loan has been charged-off on "01 February 2024"
|
||||
And Admin checks the loan has been charged-off on "01 February 2024"
|
||||
|
||||
Reference in New Issue
Block a user