Skip to content

Commit

Permalink
fix: 테스트 실패 수정 (#459)
Browse files Browse the repository at this point in the history
  • Loading branch information
penrose15 committed Nov 12, 2024
1 parent ee42ec0 commit ed8d76a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ void init() {
assertThat(result.size()).isEqualTo(10);
assertThat(followingMemoryLogIds).isSortedAccordingTo(Comparator.reverseOrder());
assertThat(followingLogSlice.isHasNext()).isTrue();
assertThat(followingLogSlice.getCursorId()).isEqualTo(11L);
assertThat(followingLogSlice.getCursorId()).isEqualTo(10L);
}

@Test
Expand All @@ -72,7 +72,7 @@ void init() {

// when
FollowingLogSlice followingLogSlice =
followingMemoryLogService.findLogsByMemberIdAndCursorId(memberId, 11L);
followingMemoryLogService.findLogsByMemberIdAndCursorId(memberId, 10L);

// then
List<FollowingMemoryLog> result = followingLogSlice.getContents();
Expand Down Expand Up @@ -100,7 +100,7 @@ private void saveFollowingMemoryLogs() {
private List<Member> getMembers() {
List<Member> members = new ArrayList<>();
long followingMemberId = 2L;
for (int i = 2; i <= 20; i++) {
for (int i = 0; i < 19; i++) {
Member followings = MemberFixture.make(followingMemberId++);
members.add(followings);
}
Expand Down

0 comments on commit ed8d76a

Please sign in to comment.