diff --git a/src/test/java/com/moomark/post/repository/PostRepositoryTest.java b/src/test/java/com/moomark/post/repository/PostRepositoryTest.java index 9e679ae..255c8b8 100644 --- a/src/test/java/com/moomark/post/repository/PostRepositoryTest.java +++ b/src/test/java/com/moomark/post/repository/PostRepositoryTest.java @@ -22,11 +22,6 @@ class PostRepositoryTest { @Autowired private PostRepository postRepository; - @BeforeEach - void initTest() { - postRepository.deleteAll(); - } - @Test void findByTitle() { // given @@ -80,4 +75,4 @@ void findByUserId() { List savedList = postRepository.findByUserId("FIRST USER ID"); Assertions.assertThat(savedList).hasSize(2); } -} \ No newline at end of file +}