Skip to content

[DE-932] Release 5.0.0 #416

[DE-932] Release 5.0.0

[DE-932] Release 5.0.0 #416

Triggered via pull request August 19, 2024 08:13
@maciej-nedzamaciej-nedza
synchronize #142
publish
Status Failure
Total duration 12m 40s
Artifacts

build.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
InvoicesControllerListCreditNotesTest.shouldReturnListOfCreditNotesWithAdditionalRefundsData: tests/src/test/java/com/maxio/advancedbilling/controllers/invoices/InvoicesControllerListCreditNotesTest.java#L242
Expecting actual: [InvoiceRefund [transactionId=1134135326, paymentId=1134135321, memo=Special refund, originalAmount=10.5, appliedAmount=10.5, gatewayTransactionId=null, gatewayUsed=bogus, gatewayHandle=null, achLateReject=false, additionalProperties={uid=rfd_bk485xzmrzwc9, transaction_time=2024-08-19T08:17:29Z}]] to contain exactly (and in same order): [InvoiceRefund [transactionId=null, paymentId=null, memo=Special refund, originalAmount=10.5, appliedAmount=10.5, gatewayTransactionId=null, gatewayUsed=bogus, gatewayHandle=null, achLateReject=null, additionalProperties={}]] but some elements were not found: [InvoiceRefund [transactionId=null, paymentId=null, memo=Special refund, originalAmount=10.5, appliedAmount=10.5, gatewayTransactionId=null, gatewayUsed=bogus, gatewayHandle=null, achLateReject=null, additionalProperties={}]] and others were not expected: [InvoiceRefund [transactionId=1134135326, paymentId=1134135321, memo=Special refund, originalAmount=10.5, appliedAmount=10.5, gatewayTransactionId=null, gatewayUsed=bogus, gatewayHandle=null, achLateReject=false, additionalProperties={uid=rfd_bk485xzmrzwc9, transaction_time=2024-08-19T08:17:29Z}]] when comparing values using recursive field/property by field/property comparator on all fields/properties using the following configuration: - the following fields were ignored in the comparison: uid, transactionId, paymentId, transactionTime, additionalProperties - no overridden equals methods were used in the comparison (except for java types) - these types were compared with the following comparators: - java.lang.Double -> DoubleComparator[precision=1.0E-15] - java.lang.Float -> FloatComparator[precision=1.0E-6] - java.nio.file.Path -> lexicographic comparator (Path natural order) - actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior). - the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
InvoicesControllerListCreditNotesTest.: tests/src/test/java/com/maxio/advancedbilling/controllers/invoices/InvoicesControllerListCreditNotesTest.java#L86
HTTP Response Not OK. Status code: 422. Response: '{errors:[Site data clearing is in progress. Please try later.]}'.
InvoicesControllerListInvoiceEventsTest.shouldReturnInvoiceEventsForExistingInvoice: tests/src/test/java/com/maxio/advancedbilling/controllers/invoices/InvoicesControllerListInvoiceEventsTest.java#L185
Expecting actual: Invoice [id=815132295602013979, uid=inv_bk486c47h6937, siteId=87346, customerId=82416200, subscriptionId=78212373, number=2878, sequenceNumber=2878, transactionTime=2024-08-19T04:18:54-04:00, createdAt=2024-08-19T04:18:54-04:00, updatedAt=2024-08-19T04:18:55-04:00, issueDate=2024-08-19, dueDate=2024-08-24, paidDate=null, status=open, role=adhoc, parentInvoiceId=null, collectionMethod=remittance, paymentInstructions=Give me your money, currency=USD, consolidationLevel=none, parentInvoiceUid=null, subscriptionGroupId=null, parentInvoiceNumber=null, groupPrimarySubscriptionId=null, productName=My Super Product 6343621759, productFamilyName=Test Product Family 9547684821, seller=InvoiceSeller [name=Maxio Developer Experience, address=InvoiceAddress [street=Asdf Street, line2=123/444, city=San Antonio, state=TX, zip=78015, country=US, additionalProperties={}], phone=555 111 222, logoUrl=null, additionalProperties={}], customer=InvoiceCustomer [chargifyId=82416200, firstName=John, lastName=Doe, organization=Maxio Org 8687963907, [email protected], vatNumber=null, reference=john1683178801_doe6592069176, additionalProperties={}], payer=InvoicePayer [chargifyId=82416200, firstName=John1683178801, lastName=Doe6592069176, organization=Maxio Org 8687963907, [email protected], vatNumber=null, additionalProperties={reference=null}], recipientEmails=[], netTerms=5, memo=Adhoc invoice created, billingAddress=InvoiceAddress [street=My Billing Address, line2=null, city=New York, state=NY, zip=10001, country=USA, additionalProperties={}], shippingAddress=InvoiceAddress [street=Shipping address, line2=Shipping address 2, city=Shipping city, state=MP, zip=ABC, country=PL, additionalProperties={}], subtotalAmount=1250.0, discountAmount=8.5, taxAmount=0.0, totalAmount=1241.5, creditAmount=0.0, refundAmount=0.0, paidAmount=0.0, dueAmount=1241.5, lineItems=[InvoiceLineItem [uid=li_bk486c47zy7yb, title=My Super Product 6343621759, description=08/19/2024 - 08/19/2024, quantity=1.0, unitPrice=1250.0, subtotalAmount=1250.0, discountAmount=8.5, taxAmount=0.0, totalAmount=1241.5, tieredUnitPrice=false, periodRangeStart=2024-08-19, periodRangeEnd=2024-08-19, transactionId=1134135596, productId=6724393, productVersion=null, componentId=null, pricePointId=null, hide=false, componentCostData=null, productPricePointId=null, customItem=false, kind=delay_capture, additionalProperties={quantity_delta=null, tax_exempt_amount=0.0, tax_included=false, billing_schedule_item_id=null, tax_code=null, item_category=0, item_description=My Super Product 6343621759, unit_name=each, accounting_code=6724393}]], discounts=[InvoiceDiscount [uid=dli_bk486c48q9j55, title=Super coupon with 8.5 amount., description=Super coupon with 8.5 amount., code=MY_CUSTOM_CODE, sourceType=Ad Hoc Coupon, sourceId=null, discountType=flat_amount, percentage=null, eligibleAmount=1250.0, discountAmount=8.5, transactionId=1134135597, lineItemBreakouts=[InvoiceDiscountBreakout [uid=li_bk486c47zy7yb, eligibleAmount=1250.0, discountAmount=8.5, additionalProperties={}]], additionalProperties={}]], taxes=[], credits=[], refunds=[], payments=[], customFields=[], displaySettings=InvoiceDisplaySettings [hideZeroSubtotalLines=false, includeDiscountsOnLines=false, additionalProperties={display_eu_vat_breakdown=false, eu_vat_breakdown={total_in_eur=0.0, vat_in_eur=0.0, message_template=null, exchange_rate=null, exchange_rate_cached_at=null}, display_introductory_offer=false, introductory_offer={trial_started_at=null, trial_ends_at=null, trial_interval=null, trial_interval_unit=null, estimated_renewal_amount_in_cents=null, estimated_renewal_at=null}, display_country_code_before_vat_number=false, tax_breakdown={total_in_currency=0.0, tax_in_currency=0.0, message_template=null, exchange_rate=null, exchange_rate_cached_at=null, type=null, currency=null}, display_tax_breakdown=false, display_uk_vat_breakdown=false, uk_vat_breakdown={total_in_gbp=null, vat_in_gbp=null, message_template=null, exchange_rate=null, exchange_rate_cached_at=null, invoice_currency=null}}], publicUrl=null, previousBalanceData=InvoicePreviousBalance [capturedAt=2024-08-19T04:18:55-04:00, invoices=[], additionalProperties={}], publicUrlExpiresOn=null, additionalProperties={statement_id=null, legacy_invoice_number=null, backported_at=null, subscription_group_customer_ids=null, debit_amount=0.0, debits=[], tax_exempt_amount=0.0, status_changed_at=2024-08-19T04:18:55-04:00, prepaid_usage_details=null, invoice_account_details=null, external_connected_data=null, owner_id=null, owner_type=null, core_id=null, core_invoice_number=null, maxio_metadata=null, avatax_details=null, core_po_number=null}] to be equal to: Invoice [id=null, uid=inv_bk486c47h6937, siteId=87346, customerId=82416200, subscriptionId=78212373, number=2878, sequenceNumber=2878, transactionTime=null, createdAt=2024-08-19T08:18:54Z, updatedAt=2024-08-19T08:18:57Z, issueDate=2024-08-19, dueDate=2024-08-24, paidDate=2024-08-19, status=paid, role=adhoc, parentInvoiceId=null, collectionMethod=remittance, paymentInstructions=Give me your money, currency=USD, consolidationLevel=none, parentInvoiceUid=null, subscriptionGroupId=null, parentInvoiceNumber=null, groupPrimarySubscriptionId=null, productName=My Super Product 6343621759, productFamilyName=Test Product Family 9547684821, seller=InvoiceSeller [name=Maxio Developer Experience, address=InvoiceAddress [street=Asdf Street, line2=123/444, city=San Antonio, state=TX, zip=78015, country=US, additionalProperties={}], phone=555 111 222, logoUrl=null, additionalProperties={}], customer=InvoiceCustomer [chargifyId=82416200, firstName=John, lastName=Doe, organization=Maxio Org 8687963907, [email protected], vatNumber=null, reference=john1683178801_doe6592069176, additionalProperties={}], payer=null, recipientEmails=null, netTerms=null, memo=Adhoc invoice created, billingAddress=InvoiceAddress [street=My Billing Address, line2=null, city=New York, state=NY, zip=10001, country=USA, additionalProperties={}], shippingAddress=InvoiceAddress [street=Shipping address, line2=Shipping address 2, city=Shipping city, state=MP, zip=ABC, country=PL, additionalProperties={}], subtotalAmount=1250.0, discountAmount=8.5, taxAmount=0.0, totalAmount=1241.5, creditAmount=1236.5, refundAmount=5.0, paidAmount=10.0, dueAmount=0.0, lineItems=[InvoiceLineItem [uid=li_bk486c47zy7yb, title=My Super Product 6343621759, description=08/19/2024 - 08/19/2024, quantity=1.0, unitPrice=1250.0, subtotalAmount=1250.0, discountAmount=8.5, taxAmount=0.0, totalAmount=1241.5, tieredUnitPrice=false, periodRangeStart=2024-08-19, periodRangeEnd=2024-08-19, transactionId=null, productId=6724393, productVersion=null, componentId=null, pricePointId=null, hide=null, componentCostData=null, productPricePointId=null, customItem=false, kind=delay_capture, additionalProperties={billing_schedule_item_id=null}]], discounts=[InvoiceDiscount [uid=dli_bk486c48q9j55, title=Super coupon with 8.5 amount., description=Super coupon with 8.5 amount., code=MY_CUSTOM_CODE, sourceType=Ad Hoc Coupon, sourceId=null, discountType=flat_amount, percentage=null, eligibleAmount=1250.0, discountAmount=8.5, transactionId=null, lineItemBreakouts=[InvoiceDiscountBreakout [uid=li_bk486c47zy7yb, eligibleAmount=1250.0, discountAmount=8.5, additionalProperties={}]], additionalProperties={}]], taxes=[], credits=[InvoiceCredit [uid=cdt_bk486cdpnybbq, creditNoteNumber=2879, creditNoteUid=cn_bk486cd3pmykg, transactionTime=2024-08-19T08:18:56Z, memo=Refund, originalAmount=5.0, appliedAmount=5.0, additionalProperties={}], InvoiceCredit [uid=cdt_bk486chtctrt2, creditNoteNumber=2881, creditNoteUid=cn_bk486ch6vypr3, transactionTime=2024-08-19T08:18:57Z, memo=Credit for remainder of partially-paid, voided invoice #2878, originalAmount=1231.5, appliedAmount=1231.5, additionalProperties={}]], refunds=[InvoiceRefund [transactionId=1134135602, paymentId=1134135598, memo=Refund, originalAmount=5.0, appliedAmount=5.0, gatewayTransactionId=null, gatewayUsed=null, gatewayHandle=null, achLateReject=false, additionalProperties={uid=rfd_bk486cdgnxh94, transaction_time=2024-08-19T08:18:56Z}]], payments=[InvoicePayment [transactionTime=2024-08-19T08:18:56Z, memo=null, originalAmount=10.0, appliedAmount=10.0, paymentMethod=InvoicePaymentMethod [details=null, kind=Money Order, memo=null, type=external, cardBrand=null, cardExpiration=null, lastFour=null, maskedCardNumber=null, additionalProperties={}], transactionId=1134135598, prepayment=false, gatewayHandle=null, gatewayUsed=null, gatewayTransactionId=null, additionalProperties={uid=pmt_bk486c9q47kzz, received_on=null}]], customFields=[], displaySettings=null, publicUrl=https://www.chargifypay.com/invoice/inv_bk486c47h6937?token=m6pr5n7xm8r3zg5x2vrjmz6h, previousBalanceData=InvoicePreviousBalance [capturedAt=2024-08-19T08:18:55Z, invoices=[], additionalProperties={}], publicUrlExpiresOn=2024-10-18, additionalProperties={debit_amount=0.0, debits=[], avatax_details=null}] when recursively comparing field by field, but found the following difference: field/property 'publicUrlExpiresOn' differ: - actual value : null - expected value: 2024-10-18 (java.time.LocalDate) The recursive comparison was performed with this configuration: - the following fields were ignored in the comparison: createdAt, creditAmount, credits, discounts, displaySettings, dueAmount, id, lineItems, netTerms, paidAmount, paidDate, payer, payments, previousBalanceData, publicUrl, recipientEmails, refundAmount, refunds, status, transactionTime, updatedAt, additionalProperties - no overridden equals methods were used in the comparison (except for java types) - these types were compared with the following comparators: - java.lang.Double -> DoubleComparator[precision=1.0E-15] - java.lang.Float -> FloatComparator[precision=1.0E-6] - java.nio.file.Path -> lexicographic comparator (Path natural order) - actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior). - the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
InvoicesControllerListInvoiceEventsTest.: tests/src/test/java/com/maxio/advancedbilling/controllers/invoices/InvoicesControllerListInvoiceEventsTest.java#L145
HTTP Response Not OK. Status code: 422. Response: '{errors:[Site data clearing is in progress. Please try later.]}'.
InvoicesControllerReadCreditNoteTest.shouldReadCreditNotes: tests/src/test/java/com/maxio/advancedbilling/controllers/invoices/InvoicesControllerReadCreditNoteTest.java#L247
Expecting actual: [InvoiceRefund [transactionId=1134135454, paymentId=1134135449, memo=Special refund, originalAmount=10.5, appliedAmount=10.5, gatewayTransactionId=null, gatewayUsed=bogus, gatewayHandle=null, achLateReject=false, additionalProperties={uid=rfd_bk4865pjtgyvc, transaction_time=2024-08-19T08:18:13Z}]] to contain exactly (and in same order): [InvoiceRefund [transactionId=null, paymentId=null, memo=Special refund, originalAmount=10.5, appliedAmount=10.5, gatewayTransactionId=null, gatewayUsed=bogus, gatewayHandle=null, achLateReject=null, additionalProperties={}]] but some elements were not found: [InvoiceRefund [transactionId=null, paymentId=null, memo=Special refund, originalAmount=10.5, appliedAmount=10.5, gatewayTransactionId=null, gatewayUsed=bogus, gatewayHandle=null, achLateReject=null, additionalProperties={}]] and others were not expected: [InvoiceRefund [transactionId=1134135454, paymentId=1134135449, memo=Special refund, originalAmount=10.5, appliedAmount=10.5, gatewayTransactionId=null, gatewayUsed=bogus, gatewayHandle=null, achLateReject=false, additionalProperties={uid=rfd_bk4865pjtgyvc, transaction_time=2024-08-19T08:18:13Z}]] when comparing values using recursive field/property by field/property comparator on all fields/properties using the following configuration: - the following fields were ignored in the comparison: uid, transactionId, paymentId, transactionTime, additionalProperties - no overridden equals methods were used in the comparison (except for java types) - these types were compared with the following comparators: - java.lang.Double -> DoubleComparator[precision=1.0E-15] - java.lang.Float -> FloatComparator[precision=1.0E-6] - java.nio.file.Path -> lexicographic comparator (Path natural order) - actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior). - the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
InvoicesControllerReadCreditNoteTest.: tests/src/test/java/com/maxio/advancedbilling/controllers/invoices/InvoicesControllerReadCreditNoteTest.java#L79
HTTP Response Not OK. Status code: 422. Response: '{errors:[Site data clearing is in progress. Please try later.]}'.
ProductPricePointsControllerCreateTest.shouldReturn201AndCreatePricePoint: tests/src/test/java/com/maxio/advancedbilling/controllers/productpricepoints/ProductPricePointsControllerCreateTest.java#L60
Multiple Failures (1 failure) org.opentest4j.AssertionFailedError: expected: "month (IntervalUnit@e91b4f4)" but was: "month (ExpirationIntervalUnit@d84b3a2)"
ProductPricePointsControllerCreateTest.: tests/src/test/java/com/maxio/advancedbilling/controllers/productpricepoints/ProductPricePointsControllerCreateTest.java#L1
HTTP Response Not OK. Status code: 422. Response: '{errors:[Site data clearing is in progress. Please try later.]}'.
test
Process completed with exit code 1.
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-java@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/