Skip to content

Commit

Permalink
fix: closing JPA EntityManagerFactory error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
seokwns committed Oct 1, 2023
1 parent 14da1ad commit 3d21f32
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@
import org.springframework.test.web.servlet.ResultActions;
import org.springframework.test.web.servlet.request.MockMvcRequestBuilders;
import org.springframework.test.web.servlet.result.MockMvcResultMatchers;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

@Import({
SecurityConfig.class
})
@Sql("classpath:/db/teardown.sql")
@AutoConfigureMockMvc
@EnableWebMvc
@SpringBootTest
public class PortfolioControllerTest {
private final MockMvc mockMvc;
Expand Down

0 comments on commit 3d21f32

Please sign in to comment.