refactor: 테스트에서의 Autowired 필드에 lateinit 적용

This commit is contained in:
이상진 2025-07-07 01:45:38 +09:00
parent 7d37afbba1
commit f2639c4779

View File

@ -21,7 +21,7 @@ import org.springframework.test.web.servlet.result.MockMvcResultMatchers.status
class DemoControllerTest {
@Autowired
private val mockMvc: MockMvc? = null
private lateinit var mockMvc: MockMvc
@DisplayName("Wrapper 타입인 경우 값이 입력되지 않으면 HttpMessageNotReadableException이 발생한다.")
@ParameterizedTest(name = "{0}")