FINERACT-2181: No subResourceExternalId in fee waiver response after charge-off
This commit is contained in:
committed by
Adam Saghy
parent
2d03ebb179
commit
04770133d0
+7
@@ -145,6 +145,13 @@ public class LoanChargeAdjustmentStepDef extends AbstractStepDef {
|
||||
ErrorHelper.checkSuccessfulApiCall(chargeAdjustmentUndoResponse);
|
||||
}
|
||||
|
||||
@Then("Charge adjustment response has the subResourceExternalId")
|
||||
public void checkChargeAdjustmentResponse() {
|
||||
final Response<PostLoansLoanIdChargesChargeIdResponse> response = testContext().get(TestContextKey.LOAN_CHARGE_ADJUSTMENT_RESPONSE);
|
||||
final PostLoansLoanIdChargesChargeIdResponse body = response.body();
|
||||
assertThat(body.getSubResourceExternalId()).isNotNull();
|
||||
}
|
||||
|
||||
private Long getTransactionIdForTransactionMetConditions(String transactionDate, double transactionAmount,
|
||||
Response<GetLoansLoanIdResponse> loanDetailsResponse) {
|
||||
List<GetLoansLoanIdTransactions> transactions = loanDetailsResponse.body().getTransactions();
|
||||
|
||||
Reference in New Issue
Block a user