Skip to content

Commit

Permalink
feat: test
Browse files Browse the repository at this point in the history
  • Loading branch information
Daolove0323 committed Nov 15, 2024
1 parent d2d5574 commit 654e765
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ void getCurationsByAreaOrderByCreatedDateDesc2() throws Exception {

// then
then(curationService).should(times(1)).getAllByAreaOrderByCreatedDateDesc(
eq(Area.전체), eq(PageRequest.of(0, 10)), eq(Long.MAX_VALUE));
eq(Area.전체), eq(PageRequest.of(0, 10)), eq(0L));
}

@Test
Expand Down Expand Up @@ -122,7 +122,7 @@ void getCurationsByCuratorIdOrderByCreatedDateDesc2() throws Exception {

// then
then(curationService).should(times(1)).getAllByCuratorIdOrderByCreatedDateDesc(
eq(randomId), eq(PageRequest.of(0, 10)), eq(Long.MAX_VALUE));
eq(randomId), eq(PageRequest.of(0, 10)), eq(0L));
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ void getEvents2() throws Exception {

// then
then(eventService).should(times(1)).getAllByCreatedDateDesc(
eq(PageRequest.of(0, 10)), eq(Long.MAX_VALUE));
eq(PageRequest.of(0, 10)), eq(0L));
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ void getReservationsByMemberId2() throws Exception {

// then
then(reservationService).should(times(1)).getAllByMemberId(
eq(normal1.memberIdentifier), eq(PageRequest.of(0, 10)), eq(Long.MAX_VALUE));
eq(normal1.memberIdentifier), eq(PageRequest.of(0, 10)), eq(0L));
}

@Test
Expand Down Expand Up @@ -153,7 +153,7 @@ void getReservationByEventId2() throws Exception {
// then
then(reservationService).should(times(1)).getAllByEventId(
eq(host1.memberIdentifier), eq(randomId), eq(PageRequest.of(0, 10)),
eq(Long.MAX_VALUE));
eq(0L));
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ void getReviewsByMemberId2() throws Exception {

// then
then(reviewService).should(times(1)).getAllByMemberId(
eq(normal1.id), eq(PageRequest.of(0, 10)), eq(Long.MAX_VALUE));
eq(normal1.id), eq(PageRequest.of(0, 10)), eq(0L));
}

@Test
Expand Down Expand Up @@ -120,7 +120,7 @@ void getReviewsByEventId2() throws Exception {

// then
then(reviewService).should(times(1)).getAllByEventId(
eq(randomId), eq(PageRequest.of(0, 10)), eq(Long.MAX_VALUE));
eq(randomId), eq(PageRequest.of(0, 10)), eq(0L));
}

@Test
Expand Down

0 comments on commit 654e765

Please sign in to comment.