Skip to content

[DE-1044] Test coupons #473

[DE-1044] Test coupons

[DE-1044] Test coupons #473

GitHub Actions / Test Report failed Nov 15, 2024 in 0s

765 tests run, 0 skipped, 4 failed.

Annotations

Check failure on line 164 in tests/src/test/java/com/maxio/advancedbilling/controllers/coupons/CouponsControllerListTest.java

See this annotation in the file changed.

@github-actions github-actions / Test Report

CouponsControllerListTest.shouldListCouponsWithCurrencyPrices

Expected size: 10 but was: 11 in:
[Coupon [id=680366, name=coupon1557903691, code=COUPON%@+-_.5601960311, description=description04791943604078361663, amount=12.34, amountInCents=1234, productFamilyId=2714453, productFamilyName=Test Product Family 1681932842, startDate=2024-11-15T08:44:36-05:00, endDate=2024-12-20T23:59:59-05:00, percentage=null, recurring=true, recurringScheme=recur_indefinitely, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=1_month, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=true, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:37-05:00, updatedAt=2024-11-15T08:44:37-05:00, discountType=amount, excludeMidPeriodAllocations=true, applyOnCancelAtEndOfPeriod=true, applyOnSubscriptionExpiration=true, couponRestrictions=[CouponRestriction [id=1527599, itemType=Product, itemId=6769409, name=My Super Product 0291571453, handle=my-super-product-0291571453, additionalProperties={}], CouponRestriction [id=1527600, itemType=Component, itemId=2589103, name=testcomponent-1jkgy, handle=test-handle-1jkgy, additionalProperties={}]], currencyPrices=[CouponCurrency [id=null, currency=EUR, price=11.66, couponId=680366, additionalProperties={}]], additionalProperties={}],
    Coupon [id=680367, name=coupon9231389209, code=COUPON%@+-_.4711352415, description=description04925236909148313773, amount=0.1, amountInCents=10, productFamilyId=2714454, productFamilyName=Test Product Family 5474781189, startDate=2024-11-15T08:44:39-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:39-05:00, updatedAt=2024-11-15T08:44:39-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=[CouponCurrency [id=null, currency=EUR, price=0.09, couponId=680367, additionalProperties={}]], additionalProperties={}],
    Coupon [id=680368, name=coupon2126836269, code=COUPON%@+-_.0383973295, description=description69177649159328859312, amount=0.1, amountInCents=10, productFamilyId=2714454, productFamilyName=Test Product Family 5474781189, startDate=2024-11-15T08:44:39-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:39-05:00, updatedAt=2024-11-15T08:44:39-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=[CouponCurrency [id=null, currency=EUR, price=0.09, couponId=680368, additionalProperties={}]], additionalProperties={}],
    Coupon [id=680369, name=coupon7539238258, code=COUPON%@+-_.7183892597, description=description39002253710872356653, amount=0.1, amountInCents=10, productFamilyId=2714454, productFamilyName=Test Product Family 5474781189, startDate=2024-11-15T08:44:39-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:39-05:00, updatedAt=2024-11-15T08:44:39-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=[CouponCurrency [id=null, currency=EUR, price=0.09, couponId=680369, additionalProperties={}]], additionalProperties={}],
    Coupon [id=680370, name=coupon9567313248, code=COUPON%@+-_.5685233868, description=description54989934435461203052, amount=0.1, amountInCents=10, productFamilyId=2714454, productFamilyName=Test Product Family 5474781189, startDate=2024-11-15T08:44:39-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:39-05:00, updatedAt=2024-11-15T08:44:39-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=[CouponCurrency [id=null, currency=EUR, price=0.09, couponId=680370, additionalProperties={}]], additionalProperties={}],
    Coupon [id=680371, name=coupon5396963604, code=COUPON%@+-_.3140617795, description=description41443162892037789698, amount=0.1, amountInCents=10, productFamilyId=2714455, productFamilyName=Test Product Family 3341629330, startDate=2024-11-15T08:44:39-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:39-05:00, updatedAt=2024-11-15T08:44:39-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=[CouponCurrency [id=null, currency=EUR, price=0.09, couponId=680371, additionalProperties={}]], additionalProperties={}],
    Coupon [id=680372, name=coupon3734605710, code=COUPON%@+-_.9754992136, description=description29856241782753200421, amount=0.1, amountInCents=10, productFamilyId=2714455, productFamilyName=Test Product Family 3341629330, startDate=2024-11-15T08:44:39-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:39-05:00, updatedAt=2024-11-15T08:44:39-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=[CouponCurrency [id=null, currency=EUR, price=0.09, couponId=680372, additionalProperties={}]], additionalProperties={}],
    Coupon [id=680373, name=coupon2573682212, code=COUPON%@+-_.1235242669, description=description70211085524423597491, amount=0.1, amountInCents=10, productFamilyId=2714455, productFamilyName=Test Product Family 3341629330, startDate=2024-11-15T08:44:39-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:39-05:00, updatedAt=2024-11-15T08:44:39-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=[CouponCurrency [id=null, currency=EUR, price=0.09, couponId=680373, additionalProperties={}]], additionalProperties={}],
    Coupon [id=680374, name=coupon1095426909, code=COUPON%@+-_.0750898111, description=description83635079543326180258, amount=0.1, amountInCents=10, productFamilyId=2714456, productFamilyName=Test Product Family 6740260473, startDate=2024-11-15T08:44:40-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:40-05:00, updatedAt=2024-11-15T08:44:40-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=[CouponCurrency [id=null, currency=EUR, price=0.09, couponId=680374, additionalProperties={}]], additionalProperties={}],
    Coupon [id=680375, name=coupon8381845330, code=COUPON%@+-_.7473977845, description=description30253093621422547445, amount=0.1, amountInCents=10, productFamilyId=2714456, productFamilyName=Test Product Family 6740260473, startDate=2024-11-15T08:44:40-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:40-05:00, updatedAt=2024-11-15T08:44:40-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=[CouponCurrency [id=null, currency=EUR, price=0.09, couponId=680375, additionalProperties={}]], additionalProperties={}],
    Coupon [id=680376, name=coupon1706187193, code=COUPON%@+-_.6843523228, description=description32984853249358574680, amount=0.1, amountInCents=10, productFamilyId=2714456, productFamilyName=Test Product Family 6740260473, startDate=2024-11-15T08:44:40-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:40-05:00, updatedAt=2024-11-15T08:44:40-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=[CouponCurrency [id=null, currency=EUR, price=0.09, couponId=680376, additionalProperties={}]], additionalProperties={}]]
Raw output
java.lang.AssertionError: 

Expected size: 10 but was: 11 in:
[Coupon [id=680366, name=coupon1557903691, code=COUPON%@+-_.5601960311, description=description04791943604078361663, amount=12.34, amountInCents=1234, productFamilyId=2714453, productFamilyName=Test Product Family 1681932842, startDate=2024-11-15T08:44:36-05:00, endDate=2024-12-20T23:59:59-05:00, percentage=null, recurring=true, recurringScheme=recur_indefinitely, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=1_month, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=true, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:37-05:00, updatedAt=2024-11-15T08:44:37-05:00, discountType=amount, excludeMidPeriodAllocations=true, applyOnCancelAtEndOfPeriod=true, applyOnSubscriptionExpiration=true, couponRestrictions=[CouponRestriction [id=1527599, itemType=Product, itemId=6769409, name=My Super Product 0291571453, handle=my-super-product-0291571453, additionalProperties={}], CouponRestriction [id=1527600, itemType=Component, itemId=2589103, name=testcomponent-1jkgy, handle=test-handle-1jkgy, additionalProperties={}]], currencyPrices=[CouponCurrency [id=null, currency=EUR, price=11.66, couponId=680366, additionalProperties={}]], additionalProperties={}],
    Coupon [id=680367, name=coupon9231389209, code=COUPON%@+-_.4711352415, description=description04925236909148313773, amount=0.1, amountInCents=10, productFamilyId=2714454, productFamilyName=Test Product Family 5474781189, startDate=2024-11-15T08:44:39-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:39-05:00, updatedAt=2024-11-15T08:44:39-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=[CouponCurrency [id=null, currency=EUR, price=0.09, couponId=680367, additionalProperties={}]], additionalProperties={}],
    Coupon [id=680368, name=coupon2126836269, code=COUPON%@+-_.0383973295, description=description69177649159328859312, amount=0.1, amountInCents=10, productFamilyId=2714454, productFamilyName=Test Product Family 5474781189, startDate=2024-11-15T08:44:39-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:39-05:00, updatedAt=2024-11-15T08:44:39-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=[CouponCurrency [id=null, currency=EUR, price=0.09, couponId=680368, additionalProperties={}]], additionalProperties={}],
    Coupon [id=680369, name=coupon7539238258, code=COUPON%@+-_.7183892597, description=description39002253710872356653, amount=0.1, amountInCents=10, productFamilyId=2714454, productFamilyName=Test Product Family 5474781189, startDate=2024-11-15T08:44:39-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:39-05:00, updatedAt=2024-11-15T08:44:39-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=[CouponCurrency [id=null, currency=EUR, price=0.09, couponId=680369, additionalProperties={}]], additionalProperties={}],
    Coupon [id=680370, name=coupon9567313248, code=COUPON%@+-_.5685233868, description=description54989934435461203052, amount=0.1, amountInCents=10, productFamilyId=2714454, productFamilyName=Test Product Family 5474781189, startDate=2024-11-15T08:44:39-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:39-05:00, updatedAt=2024-11-15T08:44:39-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=[CouponCurrency [id=null, currency=EUR, price=0.09, couponId=680370, additionalProperties={}]], additionalProperties={}],
    Coupon [id=680371, name=coupon5396963604, code=COUPON%@+-_.3140617795, description=description41443162892037789698, amount=0.1, amountInCents=10, productFamilyId=2714455, productFamilyName=Test Product Family 3341629330, startDate=2024-11-15T08:44:39-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:39-05:00, updatedAt=2024-11-15T08:44:39-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=[CouponCurrency [id=null, currency=EUR, price=0.09, couponId=680371, additionalProperties={}]], additionalProperties={}],
    Coupon [id=680372, name=coupon3734605710, code=COUPON%@+-_.9754992136, description=description29856241782753200421, amount=0.1, amountInCents=10, productFamilyId=2714455, productFamilyName=Test Product Family 3341629330, startDate=2024-11-15T08:44:39-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:39-05:00, updatedAt=2024-11-15T08:44:39-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=[CouponCurrency [id=null, currency=EUR, price=0.09, couponId=680372, additionalProperties={}]], additionalProperties={}],
    Coupon [id=680373, name=coupon2573682212, code=COUPON%@+-_.1235242669, description=description70211085524423597491, amount=0.1, amountInCents=10, productFamilyId=2714455, productFamilyName=Test Product Family 3341629330, startDate=2024-11-15T08:44:39-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:39-05:00, updatedAt=2024-11-15T08:44:39-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=[CouponCurrency [id=null, currency=EUR, price=0.09, couponId=680373, additionalProperties={}]], additionalProperties={}],
    Coupon [id=680374, name=coupon1095426909, code=COUPON%@+-_.0750898111, description=description83635079543326180258, amount=0.1, amountInCents=10, productFamilyId=2714456, productFamilyName=Test Product Family 6740260473, startDate=2024-11-15T08:44:40-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:40-05:00, updatedAt=2024-11-15T08:44:40-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=[CouponCurrency [id=null, currency=EUR, price=0.09, couponId=680374, additionalProperties={}]], additionalProperties={}],
    Coupon [id=680375, name=coupon8381845330, code=COUPON%@+-_.7473977845, description=description30253093621422547445, amount=0.1, amountInCents=10, productFamilyId=2714456, productFamilyName=Test Product Family 6740260473, startDate=2024-11-15T08:44:40-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:40-05:00, updatedAt=2024-11-15T08:44:40-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=[CouponCurrency [id=null, currency=EUR, price=0.09, couponId=680375, additionalProperties={}]], additionalProperties={}],
    Coupon [id=680376, name=coupon1706187193, code=COUPON%@+-_.6843523228, description=description32984853249358574680, amount=0.1, amountInCents=10, productFamilyId=2714456, productFamilyName=Test Product Family 6740260473, startDate=2024-11-15T08:44:40-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:40-05:00, updatedAt=2024-11-15T08:44:40-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=[CouponCurrency [id=null, currency=EUR, price=0.09, couponId=680376, additionalProperties={}]], additionalProperties={}]]
	at com.maxio.advancedbilling.controllers.coupons.CouponsControllerListTest.shouldListCouponsWithCurrencyPrices(CouponsControllerListTest.java:164)
	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

Check failure on line 126 in tests/src/test/java/com/maxio/advancedbilling/controllers/coupons/CouponsControllerListTest.java

See this annotation in the file changed.

@github-actions github-actions / Test Report

CouponsControllerListTest.shouldListAllCouponsWithPaging

Expected size: 2 but was: 3 in:
[Coupon [id=680374, name=coupon1095426909, code=COUPON%@+-_.0750898111, description=description83635079543326180258, amount=0.1, amountInCents=10, productFamilyId=2714456, productFamilyName=Test Product Family 6740260473, startDate=2024-11-15T08:44:40-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:40-05:00, updatedAt=2024-11-15T08:44:40-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=null, additionalProperties={}],
    Coupon [id=680375, name=coupon8381845330, code=COUPON%@+-_.7473977845, description=description30253093621422547445, amount=0.1, amountInCents=10, productFamilyId=2714456, productFamilyName=Test Product Family 6740260473, startDate=2024-11-15T08:44:40-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:40-05:00, updatedAt=2024-11-15T08:44:40-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=null, additionalProperties={}],
    Coupon [id=680376, name=coupon1706187193, code=COUPON%@+-_.6843523228, description=description32984853249358574680, amount=0.1, amountInCents=10, productFamilyId=2714456, productFamilyName=Test Product Family 6740260473, startDate=2024-11-15T08:44:40-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:40-05:00, updatedAt=2024-11-15T08:44:40-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=null, additionalProperties={}]]
Raw output
java.lang.AssertionError: 

Expected size: 2 but was: 3 in:
[Coupon [id=680374, name=coupon1095426909, code=COUPON%@+-_.0750898111, description=description83635079543326180258, amount=0.1, amountInCents=10, productFamilyId=2714456, productFamilyName=Test Product Family 6740260473, startDate=2024-11-15T08:44:40-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:40-05:00, updatedAt=2024-11-15T08:44:40-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=null, additionalProperties={}],
    Coupon [id=680375, name=coupon8381845330, code=COUPON%@+-_.7473977845, description=description30253093621422547445, amount=0.1, amountInCents=10, productFamilyId=2714456, productFamilyName=Test Product Family 6740260473, startDate=2024-11-15T08:44:40-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:40-05:00, updatedAt=2024-11-15T08:44:40-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=null, additionalProperties={}],
    Coupon [id=680376, name=coupon1706187193, code=COUPON%@+-_.6843523228, description=description32984853249358574680, amount=0.1, amountInCents=10, productFamilyId=2714456, productFamilyName=Test Product Family 6740260473, startDate=2024-11-15T08:44:40-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:40-05:00, updatedAt=2024-11-15T08:44:40-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=null, additionalProperties={}]]
	at com.maxio.advancedbilling.controllers.coupons.CouponsControllerListTest.shouldListAllCouponsWithPaging(CouponsControllerListTest.java:126)
	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

Check failure on line 68 in tests/src/test/java/com/maxio/advancedbilling/controllers/coupons/CouponsControllerListTest.java

See this annotation in the file changed.

@github-actions github-actions / Test Report

CouponsControllerListTest.shouldListCouponsWithDatetimeFilters

Expected size: 10 but was: 11 in:
[Coupon [id=680366, name=coupon1557903691, code=COUPON%@+-_.5601960311, description=description04791943604078361663, amount=12.34, amountInCents=1234, productFamilyId=2714453, productFamilyName=Test Product Family 1681932842, startDate=2024-11-15T08:44:36-05:00, endDate=2024-12-20T23:59:59-05:00, percentage=null, recurring=true, recurringScheme=recur_indefinitely, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=1_month, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=true, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:37-05:00, updatedAt=2024-11-15T08:44:37-05:00, discountType=amount, excludeMidPeriodAllocations=true, applyOnCancelAtEndOfPeriod=true, applyOnSubscriptionExpiration=true, couponRestrictions=[CouponRestriction [id=1527599, itemType=Product, itemId=6769409, name=My Super Product 0291571453, handle=my-super-product-0291571453, additionalProperties={}], CouponRestriction [id=1527600, itemType=Component, itemId=2589103, name=testcomponent-1jkgy, handle=test-handle-1jkgy, additionalProperties={}]], currencyPrices=null, additionalProperties={}],
    Coupon [id=680367, name=coupon9231389209, code=COUPON%@+-_.4711352415, description=description04925236909148313773, amount=0.1, amountInCents=10, productFamilyId=2714454, productFamilyName=Test Product Family 5474781189, startDate=2024-11-15T08:44:39-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:39-05:00, updatedAt=2024-11-15T08:44:39-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=null, additionalProperties={}],
    Coupon [id=680368, name=coupon2126836269, code=COUPON%@+-_.0383973295, description=description69177649159328859312, amount=0.1, amountInCents=10, productFamilyId=2714454, productFamilyName=Test Product Family 5474781189, startDate=2024-11-15T08:44:39-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:39-05:00, updatedAt=2024-11-15T08:44:39-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=null, additionalProperties={}],
    Coupon [id=680369, name=coupon7539238258, code=COUPON%@+-_.7183892597, description=description39002253710872356653, amount=0.1, amountInCents=10, productFamilyId=2714454, productFamilyName=Test Product Family 5474781189, startDate=2024-11-15T08:44:39-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:39-05:00, updatedAt=2024-11-15T08:44:39-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=null, additionalProperties={}],
    Coupon [id=680370, name=coupon9567313248, code=COUPON%@+-_.5685233868, description=description54989934435461203052, amount=0.1, amountInCents=10, productFamilyId=2714454, productFamilyName=Test Product Family 5474781189, startDate=2024-11-15T08:44:39-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:39-05:00, updatedAt=2024-11-15T08:44:39-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=null, additionalProperties={}],
    Coupon [id=680371, name=coupon5396963604, code=COUPON%@+-_.3140617795, description=description41443162892037789698, amount=0.1, amountInCents=10, productFamilyId=2714455, productFamilyName=Test Product Family 3341629330, startDate=2024-11-15T08:44:39-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:39-05:00, updatedAt=2024-11-15T08:44:39-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=null, additionalProperties={}],
    Coupon [id=680372, name=coupon3734605710, code=COUPON%@+-_.9754992136, description=description29856241782753200421, amount=0.1, amountInCents=10, productFamilyId=2714455, productFamilyName=Test Product Family 3341629330, startDate=2024-11-15T08:44:39-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:39-05:00, updatedAt=2024-11-15T08:44:39-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=null, additionalProperties={}],
    Coupon [id=680373, name=coupon2573682212, code=COUPON%@+-_.1235242669, description=description70211085524423597491, amount=0.1, amountInCents=10, productFamilyId=2714455, productFamilyName=Test Product Family 3341629330, startDate=2024-11-15T08:44:39-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:39-05:00, updatedAt=2024-11-15T08:44:39-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=null, additionalProperties={}],
    Coupon [id=680374, name=coupon1095426909, code=COUPON%@+-_.0750898111, description=description83635079543326180258, amount=0.1, amountInCents=10, productFamilyId=2714456, productFamilyName=Test Product Family 6740260473, startDate=2024-11-15T08:44:40-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:40-05:00, updatedAt=2024-11-15T08:44:40-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=null, additionalProperties={}],
    Coupon [id=680375, name=coupon8381845330, code=COUPON%@+-_.7473977845, description=description30253093621422547445, amount=0.1, amountInCents=10, productFamilyId=2714456, productFamilyName=Test Product Family 6740260473, startDate=2024-11-15T08:44:40-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:40-05:00, updatedAt=2024-11-15T08:44:40-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=null, additionalProperties={}],
    Coupon [id=680376, name=coupon1706187193, code=COUPON%@+-_.6843523228, description=description32984853249358574680, amount=0.1, amountInCents=10, productFamilyId=2714456, productFamilyName=Test Product Family 6740260473, startDate=2024-11-15T08:44:40-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:40-05:00, updatedAt=2024-11-15T08:44:40-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=null, additionalProperties={}]]
Raw output
java.lang.AssertionError: 

Expected size: 10 but was: 11 in:
[Coupon [id=680366, name=coupon1557903691, code=COUPON%@+-_.5601960311, description=description04791943604078361663, amount=12.34, amountInCents=1234, productFamilyId=2714453, productFamilyName=Test Product Family 1681932842, startDate=2024-11-15T08:44:36-05:00, endDate=2024-12-20T23:59:59-05:00, percentage=null, recurring=true, recurringScheme=recur_indefinitely, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=1_month, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=true, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:37-05:00, updatedAt=2024-11-15T08:44:37-05:00, discountType=amount, excludeMidPeriodAllocations=true, applyOnCancelAtEndOfPeriod=true, applyOnSubscriptionExpiration=true, couponRestrictions=[CouponRestriction [id=1527599, itemType=Product, itemId=6769409, name=My Super Product 0291571453, handle=my-super-product-0291571453, additionalProperties={}], CouponRestriction [id=1527600, itemType=Component, itemId=2589103, name=testcomponent-1jkgy, handle=test-handle-1jkgy, additionalProperties={}]], currencyPrices=null, additionalProperties={}],
    Coupon [id=680367, name=coupon9231389209, code=COUPON%@+-_.4711352415, description=description04925236909148313773, amount=0.1, amountInCents=10, productFamilyId=2714454, productFamilyName=Test Product Family 5474781189, startDate=2024-11-15T08:44:39-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:39-05:00, updatedAt=2024-11-15T08:44:39-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=null, additionalProperties={}],
    Coupon [id=680368, name=coupon2126836269, code=COUPON%@+-_.0383973295, description=description69177649159328859312, amount=0.1, amountInCents=10, productFamilyId=2714454, productFamilyName=Test Product Family 5474781189, startDate=2024-11-15T08:44:39-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:39-05:00, updatedAt=2024-11-15T08:44:39-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=null, additionalProperties={}],
    Coupon [id=680369, name=coupon7539238258, code=COUPON%@+-_.7183892597, description=description39002253710872356653, amount=0.1, amountInCents=10, productFamilyId=2714454, productFamilyName=Test Product Family 5474781189, startDate=2024-11-15T08:44:39-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:39-05:00, updatedAt=2024-11-15T08:44:39-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=null, additionalProperties={}],
    Coupon [id=680370, name=coupon9567313248, code=COUPON%@+-_.5685233868, description=description54989934435461203052, amount=0.1, amountInCents=10, productFamilyId=2714454, productFamilyName=Test Product Family 5474781189, startDate=2024-11-15T08:44:39-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:39-05:00, updatedAt=2024-11-15T08:44:39-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=null, additionalProperties={}],
    Coupon [id=680371, name=coupon5396963604, code=COUPON%@+-_.3140617795, description=description41443162892037789698, amount=0.1, amountInCents=10, productFamilyId=2714455, productFamilyName=Test Product Family 3341629330, startDate=2024-11-15T08:44:39-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:39-05:00, updatedAt=2024-11-15T08:44:39-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=null, additionalProperties={}],
    Coupon [id=680372, name=coupon3734605710, code=COUPON%@+-_.9754992136, description=description29856241782753200421, amount=0.1, amountInCents=10, productFamilyId=2714455, productFamilyName=Test Product Family 3341629330, startDate=2024-11-15T08:44:39-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:39-05:00, updatedAt=2024-11-15T08:44:39-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=null, additionalProperties={}],
    Coupon [id=680373, name=coupon2573682212, code=COUPON%@+-_.1235242669, description=description70211085524423597491, amount=0.1, amountInCents=10, productFamilyId=2714455, productFamilyName=Test Product Family 3341629330, startDate=2024-11-15T08:44:39-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:39-05:00, updatedAt=2024-11-15T08:44:39-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=null, additionalProperties={}],
    Coupon [id=680374, name=coupon1095426909, code=COUPON%@+-_.0750898111, description=description83635079543326180258, amount=0.1, amountInCents=10, productFamilyId=2714456, productFamilyName=Test Product Family 6740260473, startDate=2024-11-15T08:44:40-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:40-05:00, updatedAt=2024-11-15T08:44:40-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=null, additionalProperties={}],
    Coupon [id=680375, name=coupon8381845330, code=COUPON%@+-_.7473977845, description=description30253093621422547445, amount=0.1, amountInCents=10, productFamilyId=2714456, productFamilyName=Test Product Family 6740260473, startDate=2024-11-15T08:44:40-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:40-05:00, updatedAt=2024-11-15T08:44:40-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=null, additionalProperties={}],
    Coupon [id=680376, name=coupon1706187193, code=COUPON%@+-_.6843523228, description=description32984853249358574680, amount=0.1, amountInCents=10, productFamilyId=2714456, productFamilyName=Test Product Family 6740260473, startDate=2024-11-15T08:44:40-05:00, endDate=null, percentage=null, recurring=false, recurringScheme=do_not_recur, durationPeriodCount=null, durationInterval=null, durationIntervalUnit=null, durationIntervalSpan=_, allowNegativeBalance=false, archivedAt=null, conversionLimit=null, stackable=false, compoundingStrategy=compound, useSiteExchangeRate=true, createdAt=2024-11-15T08:44:40-05:00, updatedAt=2024-11-15T08:44:40-05:00, discountType=amount, excludeMidPeriodAllocations=false, applyOnCancelAtEndOfPeriod=false, applyOnSubscriptionExpiration=true, couponRestrictions=[], currencyPrices=null, additionalProperties={}]]
	at com.maxio.advancedbilling.controllers.coupons.CouponsControllerListTest.shouldListCouponsWithDatetimeFilters(CouponsControllerListTest.java:68)
	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

Check failure on line 1 in tests/src/test/java/com/maxio/advancedbilling/controllers/coupons/CouponsControllerListTest.java

See this annotation in the file changed.

@github-actions github-actions / Test Report

CouponsControllerListTest.

HTTP Response Not OK. Status code: 422. Response: '{errors:[Site data clearing is in progress. Please try later.]}'.
Raw output
com.maxio.advancedbilling.exceptions.ErrorListResponseException: HTTP Response Not OK. Status code: 422. Response: '{errors:[Site data clearing is in progress. Please try later.]}'.
	at com.maxio.advancedbilling.controllers.ProductFamiliesController.lambda$prepareCreateProductFamilyRequest$24(ProductFamiliesController.java:141)
	at io.apimatic.core.ErrorCase.throwException(ErrorCase.java:62)
	at io.apimatic.core.ResponseHandler.throwConfiguredException(ResponseHandler.java:237)
	at io.apimatic.core.ResponseHandler.validateResponse(ResponseHandler.java:220)
	at io.apimatic.core.ResponseHandler.handle(ResponseHandler.java:139)
	at io.apimatic.core.ApiCall.execute(ApiCall.java:79)
	at com.maxio.advancedbilling.controllers.ProductFamiliesController.createProductFamily(ProductFamiliesController.java:113)
	at com.maxio.advancedbilling.utils.TestSetup.createProductFamily(TestSetup.java:95)
	at com.maxio.advancedbilling.controllers.coupons.CouponsControllerTestBase.setup(CouponsControllerTestBase.java:39)
	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)