Skip to content

[feat/CK-240] 골룸 관련 부분 의존성 리팩토링을 한다 #63

[feat/CK-240] 골룸 관련 부분 의존성 리팩토링을 한다

[feat/CK-240] 골룸 관련 부분 의존성 리팩토링을 한다 #63

Triggered via pull request December 21, 2023 14:57
Status Failure
Total duration 2m 26s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 13 warnings
RoadmapReviewCreateIntegrationTest.로드맵_리뷰_생성시_완료한_골룸이_없다면_예외가_발생한다(): backend/kirikiri/src/test/java/co/kirikiri/integration/RoadmapReviewCreateIntegrationTest.java#L206
org.opentest4j.AssertionFailedError: expected: "로드맵에 대해서 완료된 골룸이 존재하지 않습니다. roadmapId = 1 memberIdentifier = identifier2" but was: "로드맵에 대해서 완료된 골룸이 존재하지 않습니다. roadmapId = 1 memberId = 2"
RoadmapRepositoryTest.카테고리_조건_없이_주어진_로드맵_이전의_데이터를_생성된_골룸이_많은순으로_조회한다(): backend/kirikiri/src/test/java/co/kirikiri/persistence/roadmap/RoadmapRepositoryTest.java#L218
org.gradle.internal.exceptions.DefaultMultiCauseException: Multiple Failures (3 failures) java.lang.AssertionError: Expecting actual: [co.kirikiri.domain.roadmap.Roadmap@5b, co.kirikiri.domain.roadmap.Roadmap@5a, co.kirikiri.domain.roadmap.Roadmap@59] to be equal to: [co.kirikiri.domain.roadmap.Roadmap@59, co.kirikiri.domain.roadmap.Roadmap@5b, co.kirikiri.domain.roadmap.Roadmap@5a] when recursively comparing field by field, but found the following 22 differences: field/property '[0].category.id' differ: - actual value : 45L - expected value: 44L field/property '[0].category.name' differ: - actual value : "여행" - expected value: "게임" field/property '[0].contents.values[0].createdAt' differ: - actual value : 2023-12-21T14:59:11.037392 (java.time.LocalDateTime) - expected value: 2023-12-21T14:59:11.034732 (java.time.LocalDateTime) field/property '[0].contents.values[0].id' differ: - actual value : 61L - expected value: 59L field/property '[0].contents.values[0].nodes.values[0].id' differ: - actual value : 76L - expected value: 72L field/property '[0].contents.values[0].nodes.values[1].id' differ: - actual value : 77L - expected value: 73L field/property '[0].contents.values[0].updatedAt' differ: - actual value : 2023-12-21T14:59:11.037392 (java.time.LocalDateTime) - expected value: 2023-12-21T14:59:11.034732 (java.time.LocalDateTime) field/property '[0].title' differ: - actual value : "여행 로드맵" - expected value: "게임 로드맵" field/property '[1].category.id' differ: - actual value : 44L - expected value: 45L field/property '[1].category.name' differ: - actual value : "게임" - expected value: "여행" field/property '[1].contents.values[0].createdAt' differ: - actual value : 2023-12-21T14:59:11.036114 (java.time.LocalDateTime) - expected value: 2023-12-21T14:59:11.037392 (java.time.LocalDateTime) field/property '[1].contents.values[0].id' differ: - actual value : 60L - expected value: 61L field/property '[1].contents.values[0].nodes.values[0].id' differ: - actual value : 74L - expected value: 76L field/property '[1].contents.values[0].nodes.values[1].id' differ: - actual value : 75L - expected value: 77L field/property '[1].contents.values[0].updatedAt' differ: - actual value : 2023-12-21T14:59:11.036114 (java.time.LocalDateTime) - expected value: 2023-12-21T14:59:11.037392 (java.time.LocalDateTime) field/property '[1].title' differ: - actual value : "게임 로드맵2" - expected value: "여행 로드맵" field/property '[2].contents.values[0].createdAt' differ: - actual value : 2023-12-21T14:59:11.034732 (java.time.LocalDateTime) - expected value: 2023-12-21T14:59:11.036114 (java.time.LocalDateTime) field/property '[2].contents.values[0].id' differ: - actual value : 59L - expected value: 60L field/property '[2].contents.values[0].nodes.values[0].id' differ: - actual value : 72L - expected value: 74L field/property '[2].contents.values[0].nodes.values[1].id' differ: - actual value : 73L - expected value: 75L field/property '[2].contents.values[0].updatedAt' differ: - actual value : 2023-12-21T14:59:11.034732 (java.time.LocalDateTime) - expected value: 2023-12-21T14:59:11.036114 (java.time.LocalDateTime) field/property '[2].title' differ: - actual value : "게임 로드맵" - expected value: "게임 로드맵2" The recursive comparison was performed with this configuration: - the following fields were ignored in the comparison: id, createdAt, updatedAt - 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 org.opentest4j.AssertionFailedError: expected: 1 but was: 2 java.lang.AssertionError: Expecting actual: [co.kirikiri.domain.roadmap.Roadmap@5a, co.kirikiri.domain.roadmap.Roadmap@59] to be equal to: [co.kirikiri.domain.roadmap.Roadmap@5a] when recursively comparing field by field, but found the following difference: Top level actual and expected objects differ: - actual value : [co.kirikiri.domain.roadmap.Roadmap@5a, co.kirikiri.domain.roadmap.Roadmap@59] - expected value: [co.kirikiri.domain.roadmap.Roadmap@5a] actual and expected values are collections of different size, actual size=2 when expected size=1 The recursive comparison was performed with this configuration: - the following fields were ignored in the comparison: id, createdAt, updatedAt - 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
RoadmapCreateServiceTest.골룸이_생성된_적이_있는_로드맵을_삭제한다(): backend/kirikiri/src/test/java/co/kirikiri/service/RoadmapCreateServiceTest.java#L291
org.opentest4j.AssertionFailedError: Unexpected exception thrown: java.lang.NullPointerException: Cannot invoke "co.kirikiri.persistence.roadmap.RoadmapContentRepository.findFirstByRoadmapOrderByCreatedAtDesc(co.kirikiri.domain.roadmap.Roadmap)" because "this.roadmapContentRepository" is null
RoadmapCreateServiceTest.로드맵_리뷰_작성시_완료한_골룸이_없으면_예외가_발생한다(): backend/kirikiri/src/test/java/co/kirikiri/service/RoadmapCreateServiceTest.java#L216
java.lang.AssertionError: Expecting actual throwable to be an instance of: co.kirikiri.common.exception.BadRequestException but was: co.kirikiri.common.exception.AuthenticationException: 존재하지 않는 회원입니다. at co.kirikiri.service.roadmap.RoadmapCreateService.lambda$findMemberByIdentifier$0(RoadmapCreateService.java:77) at java.base/java.util.Optional.orElseThrow(Optional.java:403) at co.kirikiri.service.roadmap.RoadmapCreateService.findMemberByIdentifier(RoadmapCreateService.java:77) ...(91 remaining lines not displayed - this can be changed with Assertions.setMaxStackTraceElementsDisplayed)
RoadmapCreateServiceTest.로드맵에_대한_리뷰를_추가한다(): backend/kirikiri/src/test/java/co/kirikiri/service/RoadmapCreateServiceTest.java#L182
org.opentest4j.AssertionFailedError: Unexpected exception thrown: co.kirikiri.common.exception.AuthenticationException: 존재하지 않는 회원입니다.
RoadmapCreateServiceTest.로드맵_리뷰_작성시_이미_작성을_완료했으면_예외가_발생한다(): backend/kirikiri/src/test/java/co/kirikiri/service/RoadmapCreateServiceTest.java#L246
java.lang.AssertionError: Expecting actual throwable to be an instance of: co.kirikiri.common.exception.BadRequestException but was: co.kirikiri.common.exception.AuthenticationException: 존재하지 않는 회원입니다. at co.kirikiri.service.roadmap.RoadmapCreateService.lambda$findMemberByIdentifier$0(RoadmapCreateService.java:77) at java.base/java.util.Optional.orElseThrow(Optional.java:403) at co.kirikiri.service.roadmap.RoadmapCreateService.findMemberByIdentifier(RoadmapCreateService.java:77) ...(91 remaining lines not displayed - this can be changed with Assertions.setMaxStackTraceElementsDisplayed)
RoadmapCreateServiceTest.골룸이_생성된_적이_없는_로드맵을_삭제한다(): backend/kirikiri/src/test/java/co/kirikiri/service/RoadmapCreateServiceTest.java#L264
org.opentest4j.AssertionFailedError: Unexpected exception thrown: java.lang.NullPointerException: Cannot invoke "co.kirikiri.persistence.roadmap.RoadmapContentRepository.findFirstByRoadmapOrderByCreatedAtDesc(co.kirikiri.domain.roadmap.Roadmap)" because "this.roadmapContentRepository" is null
RoadmapSchedulerTest.삭제된_상태의_로드맵_삭제시_종료되지_않은_골룸이_있으면_삭제되지_않는다(): backend/kirikiri/src/test/java/co/kirikiri/service/RoadmapSchedulerTest.java#L95
org.opentest4j.AssertionFailedError: Unexpected exception thrown: java.lang.NullPointerException: Cannot invoke "co.kirikiri.persistence.roadmap.RoadmapContentRepository.findFirstByRoadmapOrderByCreatedAtDesc(co.kirikiri.domain.roadmap.Roadmap)" because "this.roadmapContentRepository" is null
RoadmapSchedulerTest.삭제된_상태의_로드맵_삭제시_골룸이_종료된지_3개월이_지나지_않으면_삭제되지_않는다(): backend/kirikiri/src/test/java/co/kirikiri/service/RoadmapSchedulerTest.java#L134
org.opentest4j.AssertionFailedError: Unexpected exception thrown: java.lang.NullPointerException: Cannot invoke "co.kirikiri.persistence.roadmap.RoadmapContentRepository.findFirstByRoadmapOrderByCreatedAtDesc(co.kirikiri.domain.roadmap.Roadmap)" because "this.roadmapContentRepository" is null
build
Process completed with exit code 1.
골룸이_생성된_적이_있는_로드맵을_삭제한다() (co.kirikiri.service.RoadmapCreateServiceTest) failed: co.kirikiri.service.RoadmapCreateServiceTest#L0
backend/kirikiri/build/test-results/test/TEST-co.kirikiri.service.RoadmapCreateServiceTest.xml
로드맵에_대한_리뷰를_추가한다() (co.kirikiri.service.RoadmapCreateServiceTest) failed: co.kirikiri.service.RoadmapCreateServiceTest#L0
backend/kirikiri/build/test-results/test/TEST-co.kirikiri.service.RoadmapCreateServiceTest.xml
골룸이_생성된_적이_없는_로드맵을_삭제한다() (co.kirikiri.service.RoadmapCreateServiceTest) failed: co.kirikiri.service.RoadmapCreateServiceTest#L0
backend/kirikiri/build/test-results/test/TEST-co.kirikiri.service.RoadmapCreateServiceTest.xml
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/