fix: unit test

main
13009 2024-10-09 15:23:43 +08:00
parent 3d7606ede2
commit 315a0f6783
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ class InvoiceServiceTest {
extractedInvoiceInfoQueryRequestAssertions(request);
String requestJson = Json.toJson(request);
Assertions.assertEquals("{\"channel_no\":\"setChannelNo\",\"app_no\":\"setAppNo\",\"serial_no\":\"setSerialNo\",\"trans_date\":\"setTransDate\",\"trans_tradetime\":\"setTransTradeTime\",\"invoice_no\":\"setInvoiceNo\",\"invoice_register_date_start\":\"setInvoiceRegisterDateStart\",\"invoice_register_date_end\":\"setInvoiceRegisterDateEnd\",\"create_time_start\":\"setCreateTimeStart\",\"create_time_end\":\"setCreateTimeEnd\",\"invoice_status\":\"setInvoiceStatus\",\"match_status\":\"setMatchStatus\",\"settle_status\":\"setSettleStatus\",\"invoice_amount\":100.0,\"account_no\":\"setAccountNo\",\"account_name\":\"setAccountName\",\"opp_account_no\":\"setOppAccountNo\",\"opp_account_name\":\"setOppAccountName\",\"settle_account_no\":\"setSettleAccountNo\",\"settle_account_name\":\"setSettleAccountName\"}", requestJson);
Assertions.assertEquals("{\"channel_no\":\"setChannelNo\",\"app_no\":\"setAppNo\",\"serial_no\":\"setSerialNo\",\"trans_date\":\"setTransDate\",\"trans_tradetime\":\"setTransTradeTime\",\"invoice_no\":\"setInvoiceNo\",\"invoice_register_date_start\":\"setInvoiceRegisterDateStart\",\"invoice_register_date_end\":\"setInvoiceRegisterDateEnd\",\"create_time_start\":\"setCreateTimeStart\",\"create_time_end\":\"setCreateTimeEnd\",\"invoice_status\":\"setInvoiceStatus\",\"match_status\":\"setMatchStatus\",\"settle_status\":\"setSettleStatus\",\"invoice_amount_start\":100.0,\"invoice_amount_end\":100.0,\"account_no\":\"setAccountNo\",\"account_name\":\"setAccountName\",\"opp_account_no\":\"setOppAccountNo\",\"opp_account_name\":\"setOppAccountName\",\"settle_account_no\":\"setSettleAccountNo\",\"settle_account_name\":\"setSettleAccountName\"}", requestJson);
InvoiceInfoQueryResponse response = new InvoiceInfoQueryResponse();
extractedInvoiceInfoQueryResponseParams(response);