Skip to content

[BE] feat: Coupon에서 couponDesign, couponPolicy 엔티티 의존성 제거 #478

[BE] feat: Coupon에서 couponDesign, couponPolicy 엔티티 의존성 제거

[BE] feat: Coupon에서 couponDesign, couponPolicy 엔티티 의존성 제거 #478

Triggered via pull request November 14, 2023 07:47
Status Failure
Total duration 1m 53s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

backend_ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 13 warnings
ManagerCafeCouponSettingFindAcceptanceTest.카페 사장은 쿠폰이 발급되었을 때 쿠폰 디자인 조회 가능하다: backend/src/test/java/com/stampcrush/backend/acceptance/ManagerCafeCouponSettingFindAcceptanceTest.java#L39
java.lang.RuntimeException: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "exceptionMessage" (class com.stampcrush.backend.api.manager.cafe.response.CafeCouponSettingFindResponse), not marked as ignorable (4 known properties: "backImageUrl", "frontImageUrl", "stampImageUrl", "coordinates"]) at [Source: (String)"{"exceptionMessage":"알 수 없는 에러가 발생했습니다. 잠시 후 다시 시도해 주세요."}"; line: 1, column: 59] (through reference chain: com.stampcrush.backend.api.manager.cafe.response.CafeCouponSettingFindResponse["exceptionMessage"])
VisitorCouponFindAcceptanceTest.카페당 하나의 쿠폰을 조회할 수 있다: backend/src/test/java/com/stampcrush/backend/acceptance/VisitorCouponFindAcceptanceTest.java#L58
org.gradle.internal.exceptions.DefaultMultiCauseException: Multiple Failures (13 failures) org.opentest4j.AssertionFailedError: expected: 200 but was: 500 java.lang.AssertionError: Expecting actual not to be null java.lang.NullPointerException: Cannot invoke "java.util.List.size()" because the return value of "io.restassured.path.json.JsonPath.getList(String)" is null java.lang.NullPointerException: Cannot invoke "java.lang.Long.longValue()" because the return value of "io.restassured.internal.common.path.ObjectConverter.convertObjectTo(Object, java.lang.Class)" is null org.opentest4j.AssertionFailedError: expected: "깃짱카페" but was: null java.lang.NullPointerException: Cannot invoke "java.lang.Long.longValue()" because the return value of "io.restassured.internal.common.path.ObjectConverter.convertObjectTo(Object, java.lang.Class)" is null org.opentest4j.AssertionFailedError: expected: "ACCUMULATING" but was: null java.lang.AssertionError: Expecting actual not to be null java.lang.NullPointerException: Cannot invoke "java.lang.Long.longValue()" because the return value of "io.restassured.internal.common.path.ObjectConverter.convertObjectTo(Object, java.lang.Class)" is null org.opentest4j.AssertionFailedError: expected: "깃짱카페" but was: null java.lang.NullPointerException: Cannot invoke "java.lang.Long.longValue()" because the return value of "io.restassured.internal.common.path.ObjectConverter.convertObjectTo(Object, java.lang.Class)" is null org.opentest4j.AssertionFailedError: expected: "ACCUMULATING" but was: null java.lang.AssertionError: Expecting actual not to be null
VisitorCouponFindAcceptanceTest.여러 개의 쿠폰이 있는 경우 ACCUMULATING인 쿠폰만 조회된다: backend/src/test/java/com/stampcrush/backend/acceptance/VisitorCouponFindAcceptanceTest.java#L99
org.gradle.internal.exceptions.DefaultMultiCauseException: Multiple Failures (5 failures) org.opentest4j.AssertionFailedError: expected: 200 but was: 500 java.lang.AssertionError: Expecting actual not to be null java.lang.NullPointerException: Cannot invoke "java.util.List.size()" because the return value of "io.restassured.path.json.JsonPath.getList(String)" is null java.lang.NullPointerException: Cannot invoke "java.lang.Long.longValue()" because the return value of "io.restassured.internal.common.path.ObjectConverter.convertObjectTo(Object, java.lang.Class)" is null java.lang.NullPointerException: Cannot invoke "java.lang.Long.longValue()" because the return value of "io.restassured.internal.common.path.ObjectConverter.convertObjectTo(Object, java.lang.Class)" is null
VisitorCouponFindApiDocsControllerTest.고객의 쿠폰 조회 요청 시 인증이 되면 200 상태코드와 응답을 반환한다: backend/src/test/java/com/stampcrush/backend/api/docs/visitor/coupon/VisitorCouponFindApiDocsControllerTest.java#L38
java.lang.NullPointerException: Cannot invoke "com.stampcrush.backend.entity.coupon.CouponDesign.getFrontImageUrl()" because the return value of "com.stampcrush.backend.entity.coupon.Coupon.getCouponDesign()" is null
VisitorCouponFindApiControllerTest.고객의 쿠폰 조회 요청 시 인증이 되면 200 상태코드와 응답을 반환한다: backend/src/test/java/com/stampcrush/backend/api/visitor/coupon/VisitorCouponFindApiControllerTest.java#L25
java.lang.NullPointerException: Cannot invoke "com.stampcrush.backend.entity.coupon.CouponDesign.getFrontImageUrl()" because the return value of "com.stampcrush.backend.entity.coupon.Coupon.getCouponDesign()" is null
ManageCouponCommandServiceTest.적립중인 쿠폰이 없으면 새로운 쿠폰만 발급한다: backend/src/test/java/com/stampcrush/backend/application/manager/coupon/ManageCouponCommandServiceTest.java#L149
Wanted but not invoked: couponDesignRepository.save(<any>); -> at com.stampcrush.backend.application.manager.coupon.ManageCouponCommandServiceTest.적립중인_쿠폰이_없으면_새로운_쿠폰만_발급한다(ManageCouponCommandServiceTest.java:149) Actually, there were zero interactions with this mock.
ManageCouponCommandServiceTest.적립중인 쿠폰이 있으면 새로운 쿠폰을 발급하고 기존 쿠폰은 만료된다: backend/src/test/java/com/stampcrush/backend/application/manager/coupon/ManageCouponCommandServiceTest.java#L123
Wanted but not invoked: couponDesignRepository.save(<any>); -> at com.stampcrush.backend.application.manager.coupon.ManageCouponCommandServiceTest.적립중인_쿠폰이_있으면_새로운_쿠폰을_발급하고_기존_쿠폰은_만료된다(ManageCouponCommandServiceTest.java:123) Actually, there were zero interactions with this mock.
ManagerCouponFindServiceTest.쿠폰 정책이 쿠폰의 카페의 정책과 내용이 같지 않으면 예전 정책의 쿠폰이다: backend/src/test/java/com/stampcrush/backend/application/manager/coupon/ManagerCouponFindServiceTest.java#L179
java.lang.AssertionError: Expecting actual: [com.stampcrush.backend.application.manager.coupon.dto.CustomerAccumulatingCouponFindResultDto@400c2ba2] to contain exactly in any order: [com.stampcrush.backend.application.manager.coupon.dto.CustomerAccumulatingCouponFindResultDto@142b1d8b] elements not found: [com.stampcrush.backend.application.manager.coupon.dto.CustomerAccumulatingCouponFindResultDto@142b1d8b] and elements not expected: [com.stampcrush.backend.application.manager.coupon.dto.CustomerAccumulatingCouponFindResultDto@400c2ba2] 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: id, expireDate - 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
VisitorCouponFindServiceTest.하나의 카페당 하나의 쿠폰을 조회할 수 있다: backend/src/test/java/com/stampcrush/backend/application/visitor/coupon/VisitorCouponFindServiceTest.java#L86
org.gradle.internal.exceptions.DefaultMultiCauseException: Multiple Failures (2 failures) java.lang.NullPointerException: Cannot invoke "com.stampcrush.backend.entity.coupon.CouponDesign.getFrontImageUrl()" because the return value of "com.stampcrush.backend.entity.coupon.Coupon.getCouponDesign()" is null java.lang.NullPointerException: Cannot invoke "com.stampcrush.backend.entity.coupon.CouponDesign.getFrontImageUrl()" because the return value of "com.stampcrush.backend.entity.coupon.Coupon.getCouponDesign()" is null
CouponRepositoryTest2.쿠폰이 참조하는 쿠폰디자인을 찾을 수 있다: backend/src/test/java/com/stampcrush/backend/repository/coupon/CouponRepositoryTest2.java#L151
org.opentest4j.MultipleFailuresError: Multiple Failures (1 failure) java.lang.AssertionError: Expecting actual not to be null
CouponRepositoryTest2.쿠폰이 참조하는 카페정책을 찾을 수 있다: backend/src/test/java/com/stampcrush/backend/repository/coupon/CouponRepositoryTest2.java#L130
org.opentest4j.MultipleFailuresError: Multiple Failures (1 failure) org.opentest4j.AssertionFailedError: expected: null but was: com.stampcrush.backend.entity.cafe.CafePolicy@6deb4efb
CouponRepositoryTest2.쿠폰 디자인에 읽기 전용인 좌표를 조회한다: backend/src/test/java/com/stampcrush/backend/repository/coupon/CouponRepositoryTest2.java#L81
java.lang.NullPointerException: Cannot invoke "com.stampcrush.backend.entity.coupon.CouponDesign.getCouponStampCoordinates()" because the return value of "com.stampcrush.backend.entity.coupon.Coupon.getCouponDesign()" is null
build
Process completed with exit code 1.
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/