Skip to content

Commit

Permalink
refactor: restdocs 관련 테스트 주석 처리
Browse files Browse the repository at this point in the history
  • Loading branch information
shb03323 committed Aug 3, 2023
1 parent 7f5829c commit 5c42883
Showing 1 changed file with 10 additions and 21 deletions.
Original file line number Diff line number Diff line change
@@ -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));
Expand All @@ -31,5 +20,5 @@ void read() throws Exception {
// // when
//
// // then
}
}
// }
//}

0 comments on commit 5c42883

Please sign in to comment.