File tree Expand file tree Collapse file tree 1 file changed +3
-21
lines changed
backend/src/test/java/com/ai/lawyer/domain/post/controller Expand file tree Collapse file tree 1 file changed +3
-21
lines changed Original file line number Diff line number Diff line change 11package com .ai .lawyer .domain .post .controller ;
22
3- import com .ai .lawyer .domain .post .dto .PostDto ;
4- import com .ai .lawyer .domain .post .service .PostService ;
5- import org .junit .jupiter .api .BeforeEach ;
6- import org .junit .jupiter .api .DisplayName ;
7- import org .junit .jupiter .api .Test ;
8- import org .junit .jupiter .api .TestInstance ;
9- import org .springframework .beans .factory .annotation .Autowired ;
10- import org .springframework .boot .test .autoconfigure .web .servlet .AutoConfigureMockMvc ;
11- import org .springframework .http .MediaType ;
12- import org .springframework .test .context .ActiveProfiles ;
13- import org .springframework .test .web .servlet .MockMvc ;
14- import org .springframework .test .web .servlet .ResultActions ;
15- import org .springframework .transaction .annotation .Transactional ;
16-
17- import java .time .LocalDateTime ;
18-
19- import static org .springframework .test .web .servlet .request .MockMvcRequestBuilders .*;
20- import static org .springframework .test .web .servlet .result .MockMvcResultHandlers .print ;
21- import static org .springframework .test .web .servlet .result .MockMvcResultMatchers .*;
22-
3+ /*
234@ActiveProfiles("test")
24- // @SpringBootTest
5+ @SpringBootTest
256@AutoConfigureMockMvc
267@Transactional
278@TestInstance(TestInstance.Lifecycle.PER_CLASS)
@@ -141,3 +122,4 @@ void t6() throws Exception {
141122 .andExpect(jsonPath("$.message").value("게시글을 찾을 수 없습니다."));
142123 }
143124}
125+ */
You can’t perform that action at this time.
0 commit comments