We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d575aa commit 50543e4Copy full SHA for 50543e4
src/test/java/com/example/log4u/domain/follow/FollowTest.java
@@ -6,6 +6,7 @@
6
import org.junit.jupiter.api.Test;
7
import org.springframework.beans.factory.annotation.Autowired;
8
import org.springframework.boot.test.context.SpringBootTest;
9
+import org.springframework.test.annotation.DirtiesContext;
10
11
import com.example.log4u.domain.follow.entitiy.Follow;
12
import com.example.log4u.domain.follow.exception.FollowNotFoundException;
@@ -20,6 +21,7 @@
20
21
22
@DisplayName("팔로우 통합 테스트(시큐리티 제외)")
23
@SpringBootTest
24
+@DirtiesContext(classMode = DirtiesContext.ClassMode.AFTER_EACH_TEST_METHOD)
25
class FollowTest {
26
27
@Autowired
0 commit comments