From 5c42883e66f2fe86b93bdc93bec5d468e1f42eb4 Mon Sep 17 00:00:00 2001 From: ditoo Date: Thu, 3 Aug 2023 15:57:52 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20restdocs=20=EA=B4=80=EB=A0=A8=20?= =?UTF-8?q?=ED=85=8C=EC=8A=A4=ED=8A=B8=20=EC=A3=BC=EC=84=9D=20=EC=B2=98?= =?UTF-8?q?=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../runner/read/RunnerProfileReadApiTest.java | 31 ++++++------------- 1 file changed, 10 insertions(+), 21 deletions(-) diff --git a/backend/baton/src/test/java/touch/baton/document/profile/runner/read/RunnerProfileReadApiTest.java b/backend/baton/src/test/java/touch/baton/document/profile/runner/read/RunnerProfileReadApiTest.java index 1d9f82b74..91e347093 100644 --- a/backend/baton/src/test/java/touch/baton/document/profile/runner/read/RunnerProfileReadApiTest.java +++ b/backend/baton/src/test/java/touch/baton/document/profile/runner/read/RunnerProfileReadApiTest.java @@ -1,26 +1,15 @@ package touch.baton.document.profile.runner.read; -import org.junit.jupiter.api.DisplayName; -import org.junit.jupiter.api.Test; -import org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTest; -import org.springframework.boot.test.mock.mockito.MockBean; -import touch.baton.domain.runner.controller.RunnerProfileController; -import touch.baton.domain.runner.service.RunnerService; -import touch.baton.domain.runnerpost.service.RunnerPostService; +//@WebMvcTest(RunnerProfileController.class) +//public class RunnerProfileReadApiTest extends RestdocsConfig { -@WebMvcTest(RunnerProfileController.class) -public class RunnerProfileReadApiTest { +// @MockBean +// private RunnerPostService runnerPostService; - @MockBean - private RunnerPostService runnerPostService; - - @MockBean - private RunnerService runnerService; - - @DisplayName("러너 프로필 조회 API") - @Test - void read() throws Exception { - // TODO: 로그인 들어오면 작성하겠삼. +// @DisplayName("러너 프로필 조회 API") +// @Test +// void read() throws Exception { +// // TODO: 로그인 들어오면 작성하겠삼. // // given // final Runner runner = RunnerFixture.createRunner(MemberFixture.createHyena()); // final Deadline deadline = deadline(LocalDateTime.now().plusHours(100)); @@ -31,5 +20,5 @@ void read() throws Exception { // // when // // // then - } -} +// } +//}