Skip to content

Commit def56f8

Browse files
committed
MNG-11 fix: LogTrace MockBean 추가
1 parent 36190e2 commit def56f8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/test/java/com/moing/backend/config/CommonControllerTest.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import com.moing.backend.global.config.security.filter.JwtAuthenticationEntryPoint;
99
import com.moing.backend.global.config.security.jwt.TokenUtil;
1010
import com.moing.backend.global.config.security.util.AuthenticationUtil;
11+
import com.moing.backend.global.log.aop.LogTrace;
1112
import org.junit.jupiter.api.BeforeEach;
1213
import org.junit.jupiter.api.extension.ExtendWith;
1314
import org.springframework.beans.factory.annotation.Autowired;
@@ -57,6 +58,9 @@ public class CommonControllerTest {
5758
@MockBean
5859
public MemberGetService memberQueryService;
5960

61+
@MockBean
62+
public LogTrace logTrace;
63+
6064
@BeforeEach
6165
public void setUp(final WebApplicationContext context, final RestDocumentationContextProvider provider) throws Exception {
6266

0 commit comments

Comments
 (0)