Skip to content

[DE-827] Set new long types, new invoice event types, fix test env #390

[DE-827] Set new long types, new invoice event types, fix test env

[DE-827] Set new long types, new invoice event types, fix test env #390

Re-run triggered May 20, 2024 15:01
Status Failure
Total duration 12m 17s
Artifacts

build.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
SubscriptionStatusControllerResumeSubscriptionTest.shouldResumePausedSubscription: tests/src/test/java/com/maxio/advancedbilling/controllers/subscriptionstatus/SubscriptionStatusControllerResumeSubscriptionTest.java#L33
Expecting actual: Subscription [id=75841239, state=active, balanceInCents=0, totalRevenueInCents=0, productPriceInCents=0, productVersionNumber=1, currentPeriodEndsAt=2024-06-20T11:12:39-04:00, nextAssessmentAt=2024-06-20T11:12:39-04:00, trialStartedAt=null, trialEndedAt=null, activatedAt=2024-05-20T11:12:40-04:00, expiresAt=null, createdAt=2024-05-20T11:12:39-04:00, updatedAt=2024-05-20T11:12:41-04:00, cancellationMessage=null, cancellationMethod=null, cancelAtEndOfPeriod=false, canceledAt=null, currentPeriodStartedAt=2024-05-20T11:12:39-04:00, previousState=on_hold, signupPaymentId=1076582523, signupRevenue=0.00, delayedCancelAt=null, couponCode=null, snapDay=null, paymentCollectionMethod=automatic, customer=Customer [firstName=John4150372707, lastName=Doe7229584398, [email protected], [email protected], organization=Maxio Org 3288043222, reference=john4150372707_doe7229584398, id=79659330, createdAt=2024-05-20T11:12:39-04:00, updatedAt=2024-05-20T11:12:39-04:00, address=Maple Street 1642071892, address2=Address2 line8137264721, city=New York, state=NY, stateName=null, zip=111-11, country=USA, countryName=null, phone=474378763, verified=false, portalCustomerCreatedAt=null, portalInviteLastSentAt=null, portalInviteLastAcceptedAt=null, taxExempt=false, vatNumber=null, parentId=null, locale=null, defaultSubscriptionGroupUid=null, additionalProperties={}], product=Product [id=6666566, name=My Super Product 0348142971, handle=my-super-product-0348142971, description=null, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2024-05-20T11:12:39-04:00, updatedAt=2024-05-20T11:12:39-04:00, priceInCents=0, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=false, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=2641256, name=Test Product Family 2798697365, handle=test-product-family-2798697365, accountingCode=null, description=null, createdAt=2024-05-20T11:12:39-04:00, updatedAt=2024-05-20T11:12:39-04:00, additionalProperties={}], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=2992541, useSiteExchangeRate=true, itemCategory=null, productPricePointId=2992541, productPricePointHandle=uuid:5279b2b0-f8e9-013c-a047-064220a75327, additionalProperties={}], creditCard=CreditCardPaymentProfile [maskedCardNumber=XXXX-XXXX-XXXX-1, id=59023769, firstName=John4150372707, lastName=Doe7229584398, cardType=bogus, expirationMonth=12, expirationYear=2024, customerId=79659330, currentVault=bogus, vaultToken=1, billingAddress=null, billingCity=null, billingState=null, billingZip=null, billingCountry=null, customerVaultToken=null, billingAddress2=null, paymentType=credit_card, disabled=false, chargifyToken=null, siteGatewaySettingId=null, gatewayHandle=null, additionalProperties={}], group=null, bankAccount=null, paymentType=credit_card, referralCode=null, nextProductId=null, nextProductHandle=null, couponUseCount=null, couponUsesAllowed=null, reasonCode=null, automaticallyResumeAt=null, couponCodes=[], offerId=null, payerId=null, currentBillingAmountInCents=null, productPricePointId=2992541, productPricePointType=null, nextProductPricePointId=null, netTerms=null, storedCredentialTransactionId=null, reference=null, onHoldAt=null, prepaidDunning=false, coupons=null, dunningCommunicationDelayEnabled=null, dunningCommunicationDelayTimeZone=null, receivesInvoiceEmails=null, locale=null, currency=USD, scheduledCancellationAt=null, creditBalanceInCents=0, prepaymentBalanceInCents=0, prepaidConfiguration=null, selfServicePageToken=null, additionalProperties={}] to be equal to: Subscription [id=75841239, state=active, balanceInCents=0, totalRevenueInCents=0, productPriceInCents=0, productVersionNumber=1, currentPeriodEndsAt=2024-06-20T11:12:39-04:00, nextAssessmentAt=2024-06-20T11:12:39-04:00, trialStartedAt=null, trialEndedAt=null, activatedAt=2024-05-20T11:12:40-04:00, expiresAt=null, createdAt=2024-05-20T11:12:39-04:00, updatedAt=2024-05-20T11:12:41-04:00, cancellationMessage=null, cancellationMethod=null, cancelAtEndOfPeriod=false, canceledAt=null, currentPeriodStartedAt=2024-05-20T11:12:39-04:00, previousState=active, signupPaymentId=1076582523, signupRevenue=0.00, delayedCancelAt=null, couponCode=null, snapDay=null, paymentCollectionMethod=automatic, customer=Customer [firstName=John4150372707, lastName=Doe7229584398, [email protected], [email protected], organization=Maxio Org 3288043222, reference=john4150372707_doe7229584398, id=79659330, createdAt=2024-05-20T11:12:39-04:00, updatedAt=2024-05-20T11:12:39-04:00, address=Maple Street 1642071892, address2=Address2 line8137264721, city=New York, state=NY, stateName=NY, zip=111-11, country=USA, countryName=USA, phone=474378763, verified=false, portalCustomerCreatedAt=null, portalInviteLastSentAt=null, portalInviteLastAcceptedAt=null, taxExempt=false, vatNumber=null, parentId=null, locale=es-MX, defaultSubscriptionGroupUid=null, additionalProperties={}], product=Product [id=6666566, name=My Super Product 0348142971, handle=my-super-product-0348142971, description=null, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2024-05-20T11:12:39-04:00, updatedAt=2024-05-20T11:12:39-04:00, priceInCents=0, interval=1, intervalUnit=month, initialChargeInCents=null, trialPriceInCents=null, trialInterval=null, trialIntervalUnit=null, archivedAt=null, requireCreditCard=false, returnParams=null, taxable=false, updateReturnUrl=null, initialChargeAfterTrial=false, versionNumber=1, updateReturnParams=null, productFamily=ProductFamily [id=2641256, name=Test Product Family 2798697365, handle=test-product-family-2798697365, accountingCode=null, description=null, createdAt=2024-05-20T11:12:39-04:00, updatedAt=2024-05-20T11:12:39-04:00, additionalProperties={}], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=2992541, useSiteExchangeRate=true, itemCategory=null, productPricePointId=2992541, productPricePointHandle=uuid:5279b2b0-f8e9-013c-a047-064220a75327, additionalProperties={}], creditCard=CreditCardPaymentProfile [maskedCardNumber=XXXX-XXXX-XXXX-1, id=59023769, firstName=John4150372707, lastName=Doe7229584398, cardType=bogus, expirationMonth=12, expirationYear=2024, customerId=79659330, currentVault=bogus, vaultToken=1, billingAddress=null, billingCity=null, billingState=null, billingZip=null, billingCountry=null, customerVaultToken=null, billingAddress2=null, paymentType=credit_card, disabled=false, chargifyToken=null, siteGatewaySettingId=null, gatewayHandle=null, additionalProperties={}], group=null, bankAccount=null, paymentType=credit_card, referralCode=null, nextProductId=null, nextProductHandle=null, couponUseCount=null, couponUsesAllowed=null, reasonCode=null, automaticallyResumeAt=null, couponCodes=[], offerId=null, payerId=null, currentBillingAmountInCents=null, productPricePointId=2992541, productPricePointType=default, nextProductPricePointId=null, netTerms=null, storedCredentialTransactionId=null, reference=null, onHoldAt=null, prepaidDunning=false, coupons=null, dunningCommunicationDelayEnabled=false, dunningCommunicationDelayTimeZone=null, receivesInvoiceEmails=null, locale=null, currency=USD, scheduledCancellationAt=null, creditBalanceInCents=0, prepaymentBalanceInCents=0, prepaidConfiguration=null, selfServicePageToken=null, additionalProperties={}] when recursively comparing field by field, but found the following difference: field/property 'customer.locale' differ: - actual value : null - expected value: "es-MX" The recursive comparison was performed with this configuration: - the following fields were ignored in the comparison: updatedAt, prepaidDunning, previousState, productPricePointType, dunningCommunicationDelayEnabled, customer.countryName, customer.stateName - 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/.