Skip to content

Commit

Permalink
test: 테스트 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ddongpuri committed Nov 28, 2023
1 parent 83321a5 commit b3cd637
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ class FollowControllerTest extends ControllerUnitTest {
Optional<Follow> 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));
Expand Down

0 comments on commit b3cd637

Please sign in to comment.