Skip to content

테스트 환경 세팅, token 테스트 작성 #37

테스트 환경 세팅, token 테스트 작성

테스트 환경 세팅, token 테스트 작성 #37

Triggered via pull request September 3, 2024 04:03
@rivkoderivkode
synchronize #118
test/v1
Status Failure
Total duration 2m 59s
Artifacts

docker-ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 13 warnings
SynergyBeApplicationTests.contextLoads(): src/test/java/com/seoultech/synergybe/SynergyBeApplicationTests.java#L1
java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@6e8426aa testClass = com.seoultech.synergybe.SynergyBeApplicationTests, locations = [], classes = [com.seoultech.synergybe.SynergyBeApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceLocations = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@54c62d71, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@2d1dee39, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@4af0df05, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4aa83f4f, org.springframework.boot.test.context.SpringBootTestAnnotation@23a12490], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
TokenGeneratorUUIDTest.generateStringId(): src/test/java/com/seoultech/synergybe/domain/common/generator/TokenGeneratorUUIDTest.java#L1
java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@764bf20d testClass = com.seoultech.synergybe.domain.common.generator.TokenGeneratorUUIDTest, locations = [], classes = [com.seoultech.synergybe.SynergyBeApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceLocations = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@54c62d71, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@2d1dee39, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@4af0df05, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4aa83f4f, org.springframework.boot.test.context.SpringBootTestAnnotation@23a12490], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
TokenGeneratorUUIDTest.generateLongId(): src/test/java/com/seoultech/synergybe/domain/common/generator/TokenGeneratorUUIDTest.java#L1
java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@764bf20d testClass = com.seoultech.synergybe.domain.common.generator.TokenGeneratorUUIDTest, locations = [], classes = [com.seoultech.synergybe.SynergyBeApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceLocations = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@54c62d71, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@2d1dee39, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@4af0df05, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4aa83f4f, org.springframework.boot.test.context.SpringBootTestAnnotation@23a12490], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
UserServiceTest.회원가입시 인증 번호를 이메일로 전송한다: src/test/java/com/seoultech/synergybe/domain/user/UserServiceTest.java#L1
java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@1e695be6 testClass = com.seoultech.synergybe.domain.user.UserServiceTest, locations = [], classes = [com.seoultech.synergybe.SynergyBeApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceLocations = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@54c62d71, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@2d1dee39, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@4af0df05, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4aa83f4f, org.springframework.boot.test.context.SpringBootTestAnnotation@23a12490], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
UserServiceTest.회원가입시 인증 번호를 인증한다: src/test/java/com/seoultech/synergybe/domain/user/UserServiceTest.java#L1
java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@1e695be6 testClass = com.seoultech.synergybe.domain.user.UserServiceTest, locations = [], classes = [com.seoultech.synergybe.SynergyBeApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceLocations = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@54c62d71, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@2d1dee39, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@4af0df05, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4aa83f4f, org.springframework.boot.test.context.SpringBootTestAnnotation@23a12490], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
UserServiceTest.회원가입시 올바르지 않은 인증 번호로 인증을 실패한다: src/test/java/com/seoultech/synergybe/domain/user/UserServiceTest.java#L1
java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@1e695be6 testClass = com.seoultech.synergybe.domain.user.UserServiceTest, locations = [], classes = [com.seoultech.synergybe.SynergyBeApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceLocations = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@54c62d71, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@2d1dee39, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@4af0df05, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4aa83f4f, org.springframework.boot.test.context.SpringBootTestAnnotation@23a12490], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
UserServiceTest.인증되지 않은 유저는 회원가입을 실패한다.: src/test/java/com/seoultech/synergybe/domain/user/UserServiceTest.java#L1
java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@1e695be6 testClass = com.seoultech.synergybe.domain.user.UserServiceTest, locations = [], classes = [com.seoultech.synergybe.SynergyBeApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceLocations = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@54c62d71, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@2d1dee39, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@4af0df05, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4aa83f4f, org.springframework.boot.test.context.SpringBootTestAnnotation@23a12490], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
UserServiceTest.회원가입 유저를 등록한다.: src/test/java/com/seoultech/synergybe/domain/user/UserServiceTest.java#L1
java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@1e695be6 testClass = com.seoultech.synergybe.domain.user.UserServiceTest, locations = [], classes = [com.seoultech.synergybe.SynergyBeApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceLocations = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@54c62d71, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@2d1dee39, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@4af0df05, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4aa83f4f, org.springframework.boot.test.context.SpringBootTestAnnotation@23a12490], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
UserServiceTest.이메일 중복 체크: src/test/java/com/seoultech/synergybe/domain/user/UserServiceTest.java#L1
java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@1e695be6 testClass = com.seoultech.synergybe.domain.user.UserServiceTest, locations = [], classes = [com.seoultech.synergybe.SynergyBeApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceLocations = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@54c62d71, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@2d1dee39, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@4af0df05, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4aa83f4f, org.springframework.boot.test.context.SpringBootTestAnnotation@23a12490], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
UserServiceTest.유효하지 않은 RefreshToken인 경우 예외를 발생시킨다: src/test/java/com/seoultech/synergybe/domain/user/UserServiceTest.java#L1
java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@1e695be6 testClass = com.seoultech.synergybe.domain.user.UserServiceTest, locations = [], classes = [com.seoultech.synergybe.SynergyBeApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceLocations = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@54c62d71, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@2d1dee39, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@4af0df05, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4aa83f4f, org.springframework.boot.test.context.SpringBootTestAnnotation@23a12490], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
UserServiceTest.RefreshToken이 없는 경우 예외를 발생시킨다: src/test/java/com/seoultech/synergybe/domain/user/UserServiceTest.java#L1
java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@1e695be6 testClass = com.seoultech.synergybe.domain.user.UserServiceTest, locations = [], classes = [com.seoultech.synergybe.SynergyBeApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceLocations = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@54c62d71, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@2d1dee39, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@4af0df05, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4aa83f4f, org.springframework.boot.test.context.SpringBootTestAnnotation@23a12490], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
UserServiceTest.RefreshToken이 유효한 경우 AccessToken을 재발급한다: src/test/java/com/seoultech/synergybe/domain/user/UserServiceTest.java#L1
java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@1e695be6 testClass = com.seoultech.synergybe.domain.user.UserServiceTest, locations = [], classes = [com.seoultech.synergybe.SynergyBeApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceLocations = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@54c62d71, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@2d1dee39, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@4af0df05, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4aa83f4f, org.springframework.boot.test.context.SpringBootTestAnnotation@23a12490], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
build
Process completed with exit code 1.
contextLoads() (com.seoultech.synergybe.SynergyBeApplicationTests) failed: com.seoultech.synergybe.SynergyBeApplicationTests#L0
build/test-results/test/TEST-com.seoultech.synergybe.SynergyBeApplicationTests.xml [took 0s]
회원가입시 인증 번호를 인증한다 (com.seoultech.synergybe.domain.user.UserServiceTest) failed: com.seoultech.synergybe.domain.user.UserServiceTest#L0
build/test-results/test/TEST-com.seoultech.synergybe.domain.user.UserServiceTest.xml [took 0s]
회원가입 유저를 등록한다. (com.seoultech.synergybe.domain.user.UserServiceTest) failed: com.seoultech.synergybe.domain.user.UserServiceTest#L0
build/test-results/test/TEST-com.seoultech.synergybe.domain.user.UserServiceTest.xml [took 0s]
이메일 중복 체크 (com.seoultech.synergybe.domain.user.UserServiceTest) failed: com.seoultech.synergybe.domain.user.UserServiceTest#L0
build/test-results/test/TEST-com.seoultech.synergybe.domain.user.UserServiceTest.xml [took 0s]
RefreshToken이 없는 경우 예외를 발생시킨다 (com.seoultech.synergybe.domain.user.UserServiceTest) failed: com.seoultech.synergybe.domain.user.UserServiceTest#L0
build/test-results/test/TEST-com.seoultech.synergybe.domain.user.UserServiceTest.xml [took 0s]
generateStringId() (com.seoultech.synergybe.domain.common.generator.TokenGeneratorUUIDTest) failed: com.seoultech.synergybe.domain.common.generator.TokenGeneratorUUIDTest#L0
build/test-results/test/TEST-com.seoultech.synergybe.domain.common.generator.TokenGeneratorUUIDTest.xml [took 0s]
generateLongId() (com.seoultech.synergybe.domain.common.generator.TokenGeneratorUUIDTest) failed: com.seoultech.synergybe.domain.common.generator.TokenGeneratorUUIDTest#L0
build/test-results/test/TEST-com.seoultech.synergybe.domain.common.generator.TokenGeneratorUUIDTest.xml [took 0s]
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-java@v3, actions/cache@v3, mikepenz/action-junit-report@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/