diff --git a/api/src/main/java/com/civilwar/boardsignal/auth/handler/OAuth2LoginSuccessHandler.java b/api/src/main/java/com/civilwar/boardsignal/auth/handler/OAuth2LoginSuccessHandler.java index f6c2fefd..3606fd4e 100644 --- a/api/src/main/java/com/civilwar/boardsignal/auth/handler/OAuth2LoginSuccessHandler.java +++ b/api/src/main/java/com/civilwar/boardsignal/auth/handler/OAuth2LoginSuccessHandler.java @@ -26,7 +26,7 @@ public class OAuth2LoginSuccessHandler extends SimpleUrlAuthenticationSuccessHandler { private final String DOMAIN = "http://localhost:5173"; -// "https://team-civilwar-boardsignal-fe.pages.dev"; + // "https://team-civilwar-boardsignal-fe.pages.dev"; private final String REFRESHTOKEN_NAME = "RefreshToken_Id"; private final AuthService authService; diff --git a/api/src/test/java/com/civilwar/boardsignal/user/presentation/UserApiControllerTest.java b/api/src/test/java/com/civilwar/boardsignal/user/presentation/UserApiControllerTest.java index 62c3d3e3..162ef4e9 100644 --- a/api/src/test/java/com/civilwar/boardsignal/user/presentation/UserApiControllerTest.java +++ b/api/src/test/java/com/civilwar/boardsignal/user/presentation/UserApiControllerTest.java @@ -1,7 +1,7 @@ package com.civilwar.boardsignal.user.presentation; import static org.assertj.core.api.Assertions.assertThat; -import static org.mockito.BDDMockito.*; +import static org.mockito.BDDMockito.given; import static org.springframework.http.HttpHeaders.AUTHORIZATION; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.multipart; @@ -36,7 +36,6 @@ import java.util.function.Supplier; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; -import org.mockito.BDDMockito; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.mock.mockito.MockBean; import org.springframework.http.HttpMethod; diff --git a/core/src/test/java/com/civilwar/boardsignal/user/application/UserServiceTest.java b/core/src/test/java/com/civilwar/boardsignal/user/application/UserServiceTest.java index 01058445..5a680ebc 100644 --- a/core/src/test/java/com/civilwar/boardsignal/user/application/UserServiceTest.java +++ b/core/src/test/java/com/civilwar/boardsignal/user/application/UserServiceTest.java @@ -62,7 +62,7 @@ void joinUserTest() throws IOException { User userFixture = UserFixture.getUserFixture(providerId, testUrl); Boolean isJoined = userFixture.getIsJoined(); - when(now.get()).thenReturn(LocalDateTime.of(2024,11,20,0,0,0)); + when(now.get()).thenReturn(LocalDateTime.of(2024, 11, 20, 0, 0, 0)); when(imageRepository.save(imageFixture)).thenReturn(testUrl); when(userRepository.findById(id)).thenReturn(Optional.of(userFixture)); ReflectionTestUtils.setField(userFixture, "id", id);