diff --git a/src/test/java/my/music/note/back/gpt/controller/ChatGPTControllerTest.java b/src/test/java/my/music/note/back/controller/ChatGPTControllerTest.java similarity index 96% rename from src/test/java/my/music/note/back/gpt/controller/ChatGPTControllerTest.java rename to src/test/java/my/music/note/back/controller/ChatGPTControllerTest.java index c52a3f8..837408b 100644 --- a/src/test/java/my/music/note/back/gpt/controller/ChatGPTControllerTest.java +++ b/src/test/java/my/music/note/back/controller/ChatGPTControllerTest.java @@ -1,7 +1,6 @@ -package my.music.note.back.gpt.controller; +package my.music.note.back.controller; import com.fasterxml.jackson.databind.ObjectMapper; -import my.music.note.back.controller.ChatGPTController; import my.music.note.back.data.dto.gpt.request.ChatCompletionDto; import my.music.note.back.data.dto.gpt.request.ChatRequestMsgDto; import my.music.note.back.service.ChatGPTService; diff --git a/src/test/java/my/music/note/back/user/controller/UserControllerTest.java b/src/test/java/my/music/note/back/controller/UserControllerTest.java similarity index 98% rename from src/test/java/my/music/note/back/user/controller/UserControllerTest.java rename to src/test/java/my/music/note/back/controller/UserControllerTest.java index 903c08d..807e9f9 100644 --- a/src/test/java/my/music/note/back/user/controller/UserControllerTest.java +++ b/src/test/java/my/music/note/back/controller/UserControllerTest.java @@ -1,7 +1,6 @@ -package my.music.note.back.user.controller; +package my.music.note.back.controller; import com.fasterxml.jackson.databind.ObjectMapper; -import my.music.note.back.controller.UserController; import my.music.note.back.data.dto.jwt.response.TokenCreateResponse; import my.music.note.back.data.dto.user.request.DeleteAccountRequest; import my.music.note.back.data.dto.user.request.FindUserRequest; @@ -119,4 +118,5 @@ void givenToken_whenCallFindUserInfo_thenReturnOK() throws Exception { verify(tokenService, times(1)).getUserId(anyString()); } + } \ No newline at end of file diff --git a/src/test/java/my/music/note/back/gpt/service/ChatGPTServiceTest.java b/src/test/java/my/music/note/back/service/ChatGPTServiceTest.java similarity index 95% rename from src/test/java/my/music/note/back/gpt/service/ChatGPTServiceTest.java rename to src/test/java/my/music/note/back/service/ChatGPTServiceTest.java index fe83297..90d4949 100644 --- a/src/test/java/my/music/note/back/gpt/service/ChatGPTServiceTest.java +++ b/src/test/java/my/music/note/back/service/ChatGPTServiceTest.java @@ -1,9 +1,8 @@ -package my.music.note.back.gpt.service; +package my.music.note.back.service; import my.music.note.back.config.ChatGPTConfig; import my.music.note.back.data.dto.gpt.request.ChatCompletionDto; import my.music.note.back.data.dto.gpt.request.ChatRequestMsgDto; -import my.music.note.back.service.ChatGPTService; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; diff --git a/src/test/java/my/music/note/back/user/service/UserServiceTest.java b/src/test/java/my/music/note/back/service/UserServiceTest.java similarity index 97% rename from src/test/java/my/music/note/back/user/service/UserServiceTest.java rename to src/test/java/my/music/note/back/service/UserServiceTest.java index 5fa4e05..be20a10 100644 --- a/src/test/java/my/music/note/back/user/service/UserServiceTest.java +++ b/src/test/java/my/music/note/back/service/UserServiceTest.java @@ -1,4 +1,4 @@ -package my.music.note.back.user.service; +package my.music.note.back.service; import my.music.note.back.data.dto.user.request.DeleteAccountRequest; import my.music.note.back.data.dto.user.request.FindUserRequest; @@ -7,7 +7,6 @@ import my.music.note.back.data.dto.user.response.FindUserResponse; import my.music.note.back.data.entity.User; import my.music.note.back.data.repository.UserRepository; -import my.music.note.back.service.UserService; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith;