Add: Integration Test for Undoing Waive Charge

This commit is contained in:
BLasan
2021-09-12 21:35:56 +08:00
committed by Petri Tuomola
parent a23844b621
commit eade79f73c
4 changed files with 83 additions and 4 deletions
@@ -214,7 +214,8 @@ final class LoanTransactionsApiResourceSwagger {
private PutChargeTransactionChangesRequest() {}
@Schema(example = "1")
public Integer transactionId;
public Integer id;
@Schema(example = "2")
public Integer loanId;
}
}
@@ -1820,7 +1820,7 @@ public class LoanWritePlatformServiceJpaRepositoryImpl implements LoanWritePlatf
return new CommandProcessingResultBuilder() //
.withCommandId(command.commandId()) //
.withEntityId(command.entityId()) //
.withEntityId(loanChargeId) //
.withLoanId(loanId) //
.with(changes).build();
}