[DE-827] Set new long types, new invoice event types, fix test env #388
Annotations
5 errors and 1 warning
|
|
SubscriptionStatusControllerResumeSubscriptionTest.shouldResumePausedSubscription:
tests/src/test/java/com/maxio/advancedbilling/controllers/subscriptionstatus/SubscriptionStatusControllerResumeSubscriptionTest.java#L33
Expecting actual:
Subscription [id=75832887, state=active, balanceInCents=0, totalRevenueInCents=0, productPriceInCents=0, productVersionNumber=1, currentPeriodEndsAt=2024-06-20T05:54:26-04:00, nextAssessmentAt=2024-06-20T05:54:26-04:00, trialStartedAt=null, trialEndedAt=null, activatedAt=2024-05-20T05:54:26-04:00, expiresAt=null, createdAt=2024-05-20T05:54:26-04:00, updatedAt=2024-05-20T05:54:27-04:00, cancellationMessage=null, cancellationMethod=null, cancelAtEndOfPeriod=false, canceledAt=null, currentPeriodStartedAt=2024-05-20T05:54:26-04:00, previousState=on_hold, signupPaymentId=1076469319, signupRevenue=0.00, delayedCancelAt=null, couponCode=null, snapDay=null, paymentCollectionMethod=automatic, customer=Customer [firstName=John4710282039, lastName=Doe5953420949, [email protected], [email protected], organization=Maxio Org 8720286600, reference=john4710282039_doe5953420949, id=79650189, createdAt=2024-05-20T05:54:25-04:00, updatedAt=2024-05-20T05:54:25-04:00, address=Maple Street 1203047424, address2=Address2 line8454653798, city=New York, state=NY, stateName=null, zip=111-11, country=USA, countryName=null, phone=634932577, verified=false, portalCustomerCreatedAt=null, portalInviteLastSentAt=null, portalInviteLastAcceptedAt=null, taxExempt=false, vatNumber=null, parentId=null, locale=es-MX, defaultSubscriptionGroupUid=null, additionalProperties={}], product=Product [id=6665657, name=My Super Product 4049827207, handle=my-super-product-4049827207, description=null, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2024-05-20T05:54:25-04:00, updatedAt=2024-05-20T05:54:25-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=2640627, name=Test Product Family 5804395274, handle=test-product-family-5804395274, accountingCode=null, description=null, createdAt=2024-05-20T05:54:25-04:00, updatedAt=2024-05-20T05:54:25-04:00, additionalProperties={}], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=2988672, useSiteExchangeRate=true, itemCategory=null, productPricePointId=2988672, productPricePointHandle=uuid:dd9734e0-f8bc-013c-c948-022d46962219, additionalProperties={}], creditCard=CreditCardPaymentProfile [maskedCardNumber=XXXX-XXXX-XXXX-1, id=59019305, firstName=John4710282039, lastName=Doe5953420949, cardType=bogus, expirationMonth=12, expirationYear=2024, customerId=79650189, 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=2988672, 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=75832887, state=active, balanceInCents=0, totalRevenueInCents=0, productPriceInCents=0, productVersionNumber=1, currentPeriodEndsAt=2024-06-20T05:54:26-04:00, nextAssessmentAt=2024-06-20T05:54:26-04:00, trialStartedAt=null, trialEndedAt=null, activatedAt=2024-05-20T05:54:26-04:00, expiresAt=null, createdAt=2024-05-20T05:54:26-04:00, updatedAt=2024-05-20T05:54:27-04:00, cancellationMessage=null, cancellationMethod=null, cancelAtEndOfPeriod=false, canceledAt=null, currentPeriodStartedAt=2024-05-20T05:54:26-04:00, previousState=active, signupPaymentId=1076469319, signupRevenue=0.00, delayedCancelAt=null, couponCode=null, snapDay=null, paymentCollectionMethod=automatic, customer=Customer [firstName=John4710282039, lastName=Doe5953420949, [email protected], [email protected], organization=Maxio Org 8720286600, reference=john4710282039_doe5953420949, id=79650189, createdAt=2024-05-20T05:54:25-04:00, updatedAt=2024-05-20T05:54:25-04:00, address=Maple Street 1203047424, address2=Address2 line8454653798, city=New York, state=NY, stateName=NY, zip=111-11, country=USA, countryName=USA, phone=634932577, verified=false, portalCustomerCreatedAt=null, portalInviteLastSentAt=null, portalInviteLastAcceptedAt=null, taxExempt=false, vatNumber=null, parentId=null, locale=es-MX, defaultSubscriptionGroupUid=null, additionalProperties={}], product=Product [id=6665657, name=My Super Product 4049827207, handle=my-super-product-4049827207, description=null, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2024-05-20T05:54:25-04:00, updatedAt=2024-05-20T05:54:25-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=2640627, name=Test Product Family 5804395274, handle=test-product-family-5804395274, accountingCode=null, description=null, createdAt=2024-05-20T05:54:25-04:00, updatedAt=2024-05-20T05:54:25-04:00, additionalProperties={}], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=2988672, useSiteExchangeRate=true, itemCategory=null, productPricePointId=2988672, productPricePointHandle=uuid:dd9734e0-f8bc-013c-c948-022d46962219, additionalProperties={}], creditCard=CreditCardPaymentProfile [maskedCardNumber=XXXX-XXXX-XXXX-1, id=59019305, firstName=John4710282039, lastName=Doe5953420949, cardType=bogus, expirationMonth=12, expirationYear=2024, customerId=79650189, 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=2988672, productPricePointType=default, nextProductPricePointId=null, netTerms=null, storedCredentialTransactionId=null, reference=null, onHoldAt=null, prepaidDunning=null, 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 2 differences:
field/property 'customer.countryName' differ:
- actual value : null
- expected value: "USA"
field/property 'customer.stateName' differ:
- actual value : null
- expected value: "NY"
The recursive comparison was performed with this configuration:
- the following fields were ignored in the comparison: updatedAt, prepaidDunning, previousState, productPricePointType, dunningCommunicationDelayEnabled
- 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
|
SubscriptionStatusControllerRetrySubscriptionTest.shouldRetryFailedSubscription:
tests/src/test/java/com/maxio/advancedbilling/controllers/subscriptionstatus/SubscriptionStatusControllerRetrySubscriptionTest.java#L27
Expecting actual:
Subscription [id=75832880, state=active, balanceInCents=0, totalRevenueInCents=0, productPriceInCents=0, productVersionNumber=1, currentPeriodEndsAt=2024-06-20T05:54:17-04:00, nextAssessmentAt=2024-06-20T05:54:17-04:00, trialStartedAt=null, trialEndedAt=null, activatedAt=2024-05-20T05:54:18-04:00, expiresAt=null, createdAt=2024-05-20T05:54:17-04:00, updatedAt=2024-05-20T05:54:18-04:00, cancellationMessage=null, cancellationMethod=null, cancelAtEndOfPeriod=false, canceledAt=null, currentPeriodStartedAt=2024-05-20T05:54:17-04:00, previousState=active, signupPaymentId=1076469298, signupRevenue=0.00, delayedCancelAt=null, couponCode=null, snapDay=null, paymentCollectionMethod=automatic, customer=Customer [firstName=John2236355040, lastName=Doe0273548185, [email protected], [email protected], organization=Maxio Org 7718137788, reference=john2236355040_doe0273548185, id=79650183, createdAt=2024-05-20T05:54:15-04:00, updatedAt=2024-05-20T05:54:15-04:00, address=Maple Street 1689329762, address2=Address2 line7739515752, city=New York, state=NY, stateName=null, zip=111-11, country=USA, countryName=null, phone=967405218, verified=false, portalCustomerCreatedAt=null, portalInviteLastSentAt=null, portalInviteLastAcceptedAt=null, taxExempt=false, vatNumber=null, parentId=null, locale=es-MX, defaultSubscriptionGroupUid=null, additionalProperties={}], product=Product [id=6665655, name=My Super Product 5259054447, handle=my-super-product-5259054447, description=null, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2024-05-20T05:54:15-04:00, updatedAt=2024-05-20T05:54:15-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=2640625, name=Test Product Family 9007532755, handle=test-product-family-9007532755, accountingCode=null, description=null, createdAt=2024-05-20T05:54:15-04:00, updatedAt=2024-05-20T05:54:15-04:00, additionalProperties={}], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=2988669, useSiteExchangeRate=true, itemCategory=null, productPricePointId=2988669, productPricePointHandle=uuid:d7646930-f8bc-013c-49bb-0a8675073863, additionalProperties={}], creditCard=CreditCardPaymentProfile [maskedCardNumber=XXXX-XXXX-XXXX-1, id=59019299, firstName=John2236355040, lastName=Doe0273548185, cardType=bogus, expirationMonth=12, expirationYear=2024, customerId=79650183, 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=2988669, 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=75832880, state=active, balanceInCents=0, totalRevenueInCents=0, productPriceInCents=0, productVersionNumber=1, currentPeriodEndsAt=2024-06-20T05:54:17-04:00, nextAssessmentAt=2024-06-20T05:54:17-04:00, trialStartedAt=null, trialEndedAt=null, activatedAt=2024-05-20T05:54:18-04:00, expiresAt=null, createdAt=2024-05-20T05:54:17-04:00, updatedAt=2024-05-20T05:54:18-04:00, cancellationMessage=null, cancellationMethod=null, cancelAtEndOfPeriod=false, canceledAt=null, currentPeriodStartedAt=2024-05-20T05:54:17-04:00, previousState=active, signupPaymentId=1076469298, signupRevenue=0.00, delayedCancelAt=null, couponCode=null, snapDay=null, paymentCollectionMethod=automatic, customer=Customer [firstName=John2236355040, lastName=Doe0273548185, [email protected], [email protected], organization=Maxio Org 7718137788, reference=john2236355040_doe0273548185, id=79650183, createdAt=2024-05-20T05:54:15-04:00, updatedAt=2024-05-20T05:54:15-04:00, address=Maple Street 1689329762, address2=Address2 line7739515752, city=New York, state=NY, stateName=NY, zip=111-11, country=USA, countryName=USA, phone=967405218, verified=false, portalCustomerCreatedAt=null, portalInviteLastSentAt=null, portalInviteLastAcceptedAt=null, taxExempt=false, vatNumber=null, parentId=null, locale=es-MX, defaultSubscriptionGroupUid=null, additionalProperties={}], product=Product [id=6665655, name=My Super Product 5259054447, handle=my-super-product-5259054447, description=null, accountingCode=null, requestCreditCard=true, expirationInterval=null, expirationIntervalUnit=null, createdAt=2024-05-20T05:54:15-04:00, updatedAt=2024-05-20T05:54:15-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=2640625, name=Test Product Family 9007532755, handle=test-product-family-9007532755, accountingCode=null, description=null, createdAt=2024-05-20T05:54:15-04:00, updatedAt=2024-05-20T05:54:15-04:00, additionalProperties={}], publicSignupPages=[], productPricePointName=Original, requestBillingAddress=false, requireBillingAddress=false, requireShippingAddress=false, taxCode=null, defaultProductPricePointId=2988669, useSiteExchangeRate=true, itemCategory=null, productPricePointId=2988669, productPricePointHandle=uuid:d7646930-f8bc-013c-49bb-0a8675073863, additionalProperties={}], creditCard=CreditCardPaymentProfile [maskedCardNumber=XXXX-XXXX-XXXX-1, id=59019299, firstName=John2236355040, lastName=Doe0273548185, cardType=bogus, expirationMonth=12, expirationYear=2024, customerId=79650183, 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=2988669, productPricePointType=default, nextProductPricePointId=null, netTerms=null, storedCredentialTransactionId=null, reference=null, onHoldAt=null, prepaidDunning=null, 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 2 differences:
field/property 'customer.countryName' differ:
- actual value : null
- expected value: "USA"
field/property 'customer.stateName' differ:
- actual value : null
- expected value: "NY"
The recursive comparison was performed with this configuration:
- the following fields were ignored in the comparison: productPricePointType, prepaidDunning, updatedAt, dunningCommunicationDelayEnabled
- 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/.
|