Skip to content

Commit

Permalink
MNG-11 fix: LogTrace MockBean 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
minsu20 committed Mar 10, 2024
1 parent 36190e2 commit def56f8
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import com.moing.backend.global.config.security.filter.JwtAuthenticationEntryPoint;
import com.moing.backend.global.config.security.jwt.TokenUtil;
import com.moing.backend.global.config.security.util.AuthenticationUtil;
import com.moing.backend.global.log.aop.LogTrace;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.extension.ExtendWith;
import org.springframework.beans.factory.annotation.Autowired;
Expand Down Expand Up @@ -57,6 +58,9 @@ public class CommonControllerTest {
@MockBean
public MemberGetService memberQueryService;

@MockBean
public LogTrace logTrace;

@BeforeEach
public void setUp(final WebApplicationContext context, final RestDocumentationContextProvider provider) throws Exception {

Expand Down

0 comments on commit def56f8

Please sign in to comment.