Skip to content

Commit 0ee3695

Browse files
committed
test(VolunteerSignController): ControllerTestSupport 상속받도록 변경
1 parent 7137b8f commit 0ee3695

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/test/java/com/somemore/volunteer/controller/VolunteerSignControllerTest.java

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,17 @@
11
package com.somemore.volunteer.controller;
22

3-
import com.somemore.IntegrationTestSupport;
3+
import com.somemore.ControllerTestSupport;
44
import org.junit.jupiter.api.DisplayName;
55
import org.junit.jupiter.api.Test;
66
import org.springframework.beans.factory.annotation.Autowired;
7-
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc;
8-
import org.springframework.boot.test.context.SpringBootTest;
97
import org.springframework.mock.web.MockHttpServletResponse;
108
import org.springframework.test.web.servlet.MockMvc;
119

1210
import static org.assertj.core.api.Assertions.assertThat;
1311
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post;
1412
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
1513

16-
@SpringBootTest
17-
@AutoConfigureMockMvc
18-
class VolunteerSignControllerTest extends IntegrationTestSupport {
14+
class VolunteerSignControllerTest extends ControllerTestSupport {
1915

2016
@Autowired
2117
private MockMvc mockMvc;

0 commit comments

Comments
 (0)