File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/test/kotlin/com/embabel/hub Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -13,13 +13,14 @@ import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMock
1313import org.springframework.boot.test.context.SpringBootTest
1414import org.springframework.http.MediaType
1515import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder
16- import org.springframework.test.annotation.Rollback
1716import org.springframework.test.context.ContextConfiguration
1817import org.springframework.test.web.servlet.MockMvc
1918import org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post
20- import org.springframework.test.web.servlet.result.MockMvcResultMatchers.*
19+ import org.springframework.test.web.servlet.result.MockMvcResultMatchers.jsonPath
20+ import org.springframework.test.web.servlet.result.MockMvcResultMatchers.status
2121
2222@SpringBootTest
23+ @AutoConfigureMockMvc
2324@ContextConfiguration(initializers = [Neo4jPropertiesInitializer ::class ])
2425@ImportAutoConfiguration(exclude = [McpClientAutoConfiguration ::class ])
2526class HubApiControllerTest {
You can’t perform that action at this time.
0 commit comments