Skip to content

[DE-736] Merge proforma invoice and preview proforma #319

[DE-736] Merge proforma invoice and preview proforma

[DE-736] Merge proforma invoice and preview proforma #319

Triggered via pull request February 22, 2024 09:15
Status Failure
Total duration 13m 21s
Artifacts

build.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
InvoicesControllerCreateTest.shouldCreateInvoice: tests/src/test/java/com/maxio/advancedbilling/controllers/invoices/InvoicesControllerCreateTest.java#L200
Expecting actual: [InvoiceLineItem [uid=li_bcpd62dz8d3yg, title=My Super Product 51367, description=02/22/2024 - 02/22/2024, quantity=1.0, unitPrice=12.5, subtotalAmount=12.5, discountAmount=12.5, taxAmount=0.0, totalAmount=0.0, tieredUnitPrice=false, periodRangeStart=2024-02-22, periodRangeEnd=2024-02-22, transactionId=null, productId=69775, productVersion=null, componentId=null, pricePointId=null, hide=null, componentCostData=null, productPricePointId=null, customItem=false, kind=delay_capture], InvoiceLineItem [uid=li_bcpd62g233294, title=Custom line, description=02/22/2024 - 02/22/2024, quantity=12.5, unitPrice=1.8, subtotalAmount=22.5, discountAmount=8.5, taxAmount=0.0, totalAmount=14.0, tieredUnitPrice=false, periodRangeStart=2024-02-22, periodRangeEnd=2024-02-22, transactionId=null, productId=69775, productVersion=null, componentId=null, pricePointId=null, hide=null, componentCostData=null, productPricePointId=null, customItem=true, kind=delay_capture], InvoiceLineItem [uid=li_bcpd62g233295, title=Test Metered Component 14377, description=Description for: Test Metered Component 14377, quantity=10.0, unitPrice=11.5, subtotalAmount=115.0, discountAmount=0.0, taxAmount=0.0, totalAmount=115.0, tieredUnitPrice=false, periodRangeStart=2024-02-22, periodRangeEnd=2024-02-22, transactionId=null, productId=null, productVersion=null, componentId=38967, pricePointId=2954968, hide=null, componentCostData=null, productPricePointId=null, customItem=false, kind=delay_capture]] to contain exactly in any order: [InvoiceLineItem [uid=null, title=My Super Product 51367, description=02/22/2024 - 02/22/2024, quantity=1.0, unitPrice=12.5, subtotalAmount=12.5, discountAmount=12.5, taxAmount=0.0, totalAmount=0.0, tieredUnitPrice=false, periodRangeStart=2024-02-22, periodRangeEnd=2024-02-22, transactionId=null, productId=69775, productVersion=null, componentId=null, pricePointId=null, hide=null, componentCostData=null, productPricePointId=null, customItem=false, kind=null], InvoiceLineItem [uid=null, title=Custom line, description=02/22/2024 - 02/22/2024, quantity=12.5, unitPrice=1.8, subtotalAmount=22.5, discountAmount=8.5, taxAmount=0.0, totalAmount=14.0, tieredUnitPrice=false, periodRangeStart=2024-02-22, periodRangeEnd=2024-02-22, transactionId=null, productId=69775, productVersion=null, componentId=null, pricePointId=null, hide=null, componentCostData=null, productPricePointId=null, customItem=true, kind=null], InvoiceLineItem [uid=null, title=Test Metered Component 14377, description=Description for: Test Metered Component 14377, quantity=10.0, unitPrice=11.5, subtotalAmount=115.0, discountAmount=0.0, taxAmount=0.0, totalAmount=115.0, tieredUnitPrice=false, periodRangeStart=2024-02-22, periodRangeEnd=2024-02-22, transactionId=null, productId=null, productVersion=null, componentId=38967, pricePointId=2954968, hide=null, componentCostData=null, productPricePointId=null, customItem=false, kind=null]] elements not found: [InvoiceLineItem [uid=null, title=My Super Product 51367, description=02/22/2024 - 02/22/2024, quantity=1.0, unitPrice=12.5, subtotalAmount=12.5, discountAmount=12.5, taxAmount=0.0, totalAmount=0.0, tieredUnitPrice=false, periodRangeStart=2024-02-22, periodRangeEnd=2024-02-22, transactionId=null, productId=69775, productVersion=null, componentId=null, pricePointId=null, hide=null, componentCostData=null, productPricePointId=null, customItem=false, kind=null], InvoiceLineItem [uid=null, title=Custom line, description=02/22/2024 - 02/22/2024, quantity=12.5, unitPrice=1.8, subtotalAmount=22.5, discountAmount=8.5, taxAmount=0.0, totalAmount=14.0, tieredUnitPrice=false, periodRangeStart=2024-02-22, periodRangeEnd=2024-02-22, transactionId=null, productId=69775, productVersion=null, componentId=null, pricePointId=null, hide=null, componentCostData=null, productPricePointId=null, customItem=true, kind=null], InvoiceLineItem [uid=null, title=Test Metered Component 14377, description=Description for: Test Metered Component 14377, quantity=10.0, unitPrice=11.5, subtotalAmount=115.0, discountAmount=0.0, taxAmount=0.0, totalAmount=115.0, tieredUnitPrice=false, periodRangeStart=2024-02-22, periodRangeEnd=2024-02-22, transactionId=null, productId=null, productVersion=null, componentId=38967, pricePointId=2954968, hide=null, componentCostData=null, productPricePointId=null, customItem=false, kind=null]] and elements not expected: [InvoiceLineItem [uid=li_bcpd62dz8d3yg, title=My Super Product 51367, description=02/22/2024 - 02/22/2024, quantity=1.0, unitPrice=12.5, subtotalAmount=12.5, discountAmount=12.5, taxAmount=0.0, totalAmount=0.0, tieredUnitPrice=false, periodRangeStart=2024-02-22, periodRangeEnd=2024-02-22, transactionId=null, productId=69775, productVersion=null, componentId=null, pricePointId=null, hide=null, componentCostData=null, productPricePointId=null, customItem=false, kind=delay_capture], InvoiceLineItem [uid=li_bcpd62g233294, title=Custom line, description=02/22/2024 - 02/22/2024, quantity=12.5, unitPrice=1.8, subtotalAmount=22.5, discountAmount=8.5, taxAmount=0.0, totalAmount=14.0, tieredUnitPrice=false, periodRangeStart=2024-02-22, periodRangeEnd=2024-02-22, transactionId=null, productId=69775, productVersion=null, componentId=null, pricePointId=null, hide=null, componentCostData=null, productPricePointId=null, customItem=true, kind=delay_capture], InvoiceLineItem [uid=li_bcpd62g233295, title=Test Metered Component 14377, description=Description for: Test Metered Component 14377, quantity=10.0, unitPrice=11.5, subtotalAmount=115.0, discountAmount=0.0, taxAmount=0.0, totalAmount=115.0, tieredUnitPrice=false, periodRangeStart=2024-02-22, periodRangeEnd=2024-02-22, transactionId=null, productId=null, productVersion=null, componentId=38967, pricePointId=2954968, hide=null, componentCostData=null, productPricePointId=null, customItem=false, kind=delay_capture]] 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 - 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
InvoicesControllerIssueTest.shouldIssuePendingInvoice: tests/src/test/java/com/maxio/advancedbilling/controllers/invoices/InvoicesControllerIssueTest.java#L209
Expecting actual: [InvoiceLineItem [uid=li_bcpd4tzgynj2k, title=testcomponent-fspcx: 0.0 to 5.4 units, description=Prorated: 02/22/2024 - 03/22/2024 (100.0% of original period) Recoding component purchase, quantity=5.4, unitPrice=1.0, subtotalAmount=5.4, discountAmount=0.0, taxAmount=0.0, totalAmount=5.4, tieredUnitPrice=false, periodRangeStart=2024-02-22, periodRangeEnd=2024-03-22, transactionId=null, productId=69759, productVersion=1, componentId=38958, pricePointId=2954959, hide=null, componentCostData=null, productPricePointId=81776, customItem=false, kind=quantity_based_component]] to contain exactly (and in same order): [InvoiceLineItem [uid=null, title=testcomponent-fspcx: 0.0 to 5.4 units, description=null, quantity=5.4, unitPrice=1.0, subtotalAmount=5.4, discountAmount=0.0, taxAmount=0.0, totalAmount=5.4, tieredUnitPrice=false, periodRangeStart=2024-02-22, periodRangeEnd=2024-03-22, transactionId=null, productId=69759, productVersion=1, componentId=38958, pricePointId=2954959, hide=null, componentCostData=null, productPricePointId=81776, customItem=false, kind=null]] but some elements were not found: [InvoiceLineItem [uid=null, title=testcomponent-fspcx: 0.0 to 5.4 units, description=null, quantity=5.4, unitPrice=1.0, subtotalAmount=5.4, discountAmount=0.0, taxAmount=0.0, totalAmount=5.4, tieredUnitPrice=false, periodRangeStart=2024-02-22, periodRangeEnd=2024-03-22, transactionId=null, productId=69759, productVersion=1, componentId=38958, pricePointId=2954959, hide=null, componentCostData=null, productPricePointId=81776, customItem=false, kind=null]] and others were not expected: [InvoiceLineItem [uid=li_bcpd4tzgynj2k, title=testcomponent-fspcx: 0.0 to 5.4 units, description=Prorated: 02/22/2024 - 03/22/2024 (100.0% of original period) Recoding component purchase, quantity=5.4, unitPrice=1.0, subtotalAmount=5.4, discountAmount=0.0, taxAmount=0.0, totalAmount=5.4, tieredUnitPrice=false, periodRangeStart=2024-02-22, periodRangeEnd=2024-03-22, transactionId=null, productId=69759, productVersion=1, componentId=38958, pricePointId=2954959, hide=null, componentCostData=null, productPricePointId=81776, customItem=false, kind=quantity_based_component]] 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, description - 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
test
Process completed with exit code 1.
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-java@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.