Skip to content

Commit

Permalink
test: @SpringBootTest 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
zinzoddari committed Jan 13, 2024
1 parent 7bfcb98 commit edc1419
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import org.junit.jupiter.api.extension.ExtendWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc;
import org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTest;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.mock.mockito.MockBean;
import org.springframework.test.context.junit.jupiter.SpringExtension;
Expand All @@ -27,9 +28,9 @@
import static org.mockito.BDDMockito.given;
import static org.springframework.test.web.servlet.result.MockMvcResultHandlers.print;

@AutoConfigureMockMvc

@WebMvcTest
@ExtendWith(SpringExtension.class)
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.MOCK)
class WorkTimerControllerTest {

@Autowired
Expand Down

0 comments on commit edc1419

Please sign in to comment.