diff --git a/src/test/java/org/devcourse/resumeme/business/user/controller/FollowControllerTest.java b/src/test/java/org/devcourse/resumeme/business/user/controller/FollowControllerTest.java index ddd0cd00..7b9f4006 100644 --- a/src/test/java/org/devcourse/resumeme/business/user/controller/FollowControllerTest.java +++ b/src/test/java/org/devcourse/resumeme/business/user/controller/FollowControllerTest.java @@ -156,7 +156,7 @@ class FollowControllerTest extends ControllerUnitTest { Optional follow = Optional.of(new Follow(1L, 1L)); setId(follow.get(), 1L); - given(followService.getFollow(any(Long.class), any(Long.class))).willReturn(follow); + given(followService.getFollow(any(Long.class), any(Long.class))).willReturn(any(Long.class)); // when ResultActions result = mvc.perform(get("/api/v1/follows/mentors/{mentorId}", 1L));