@@ -41,12 +41,12 @@ void mapFromDTOTransaction() {
4141 assertCommonFields (resultRefund , refundTrx );
4242 checkNotNullRewardField (resultRefund .getRewards ());
4343 assertRefundFields (resultRefund ,refundTrx );
44- TestUtils .checkNotNullFields (resultRefund , "rejectionReasons" , "initiativeRejectionReasons" , "additionalProperties" , "invoiceData" , "creditNoteData" , "trxCode" , "invoiceUploadDate" );
44+ TestUtils .checkNotNullFields (resultRefund , "rejectionReasons" , "initiativeRejectionReasons" , "additionalProperties" , "invoiceData" , "creditNoteData" , "trxCode" , "invoiceUploadDate" , "extendedAuthorization" , "voucherAmountCents" , "extendedAuthorization" , "voucherAmountCents" );
4545
4646 Assertions .assertNotNull (resultRejected );
4747 assertCommonFields (resultRejected , rejectedTrx );
4848 assertRejectedFields (resultRejected ,rejectedTrx );
49- TestUtils .checkNotNullFields (resultRejected , "initiatives" ,"rewards" , "operationTypeTranscoded" , "effectiveAmountCents" ,"trxChargeDate" ,"refundInfo" , "additionalProperties" , "invoiceData" , "creditNoteData" , "trxCode" , "invoiceUploadDate" );
49+ TestUtils .checkNotNullFields (resultRejected , "initiatives" ,"rewards" , "operationTypeTranscoded" , "effectiveAmountCents" ,"trxChargeDate" ,"refundInfo" , "additionalProperties" , "invoiceData" , "creditNoteData" , "trxCode" , "invoiceUploadDate" , "extendedAuthorization" , "voucherAmountCents" , "extendedAuthorization" , "voucherAmountCents" );
5050
5151
5252 }
@@ -63,7 +63,7 @@ void mapFromDTOTransactionWithoutId(){
6363 //Then
6464 Assertions .assertNotNull (result );
6565 assertCommonFields (result , rewardTrx );
66- TestUtils .checkNotNullFields (result , "rejectionReasons" , "initiativeRejectionReasons" , "additionalProperties" , "invoiceData" , "creditNoteData" , "trxCode" , "invoiceUploadDate" );
66+ TestUtils .checkNotNullFields (result , "rejectionReasons" , "initiativeRejectionReasons" , "additionalProperties" , "invoiceData" , "creditNoteData" , "trxCode" , "invoiceUploadDate" , "extendedAuthorization" , "voucherAmountCents" );
6767
6868 String expectedId = rewardTrx .getIdTrxAcquirer ()
6969 .concat (rewardTrx .getAcquirerCode ())
@@ -87,7 +87,7 @@ void mapFromDTOTransactionWithRefund() {
8787 Assertions .assertNotNull (result );
8888 assertCommonFields (result , rewardTrx );
8989
90- TestUtils .checkNotNullFields (result , "rejectionReasons" , "initiativeRejectionReasons" , "additionalProperties" , "invoiceData" , "creditNoteData" , "trxCode" , "invoiceUploadDate" );
90+ TestUtils .checkNotNullFields (result , "rejectionReasons" , "initiativeRejectionReasons" , "additionalProperties" , "invoiceData" , "creditNoteData" , "trxCode" , "invoiceUploadDate" , "extendedAuthorization" , "voucherAmountCents" );
9191 checkNotNullRewardField (result .getRewards ());
9292 TestUtils .checkNotNullFields (result .getRefundInfo ());
9393 }
0 commit comments