diff --git a/backend/src/test/java/com/ody/route/repository/ApiCallRepositoryTest.java b/backend/src/test/java/com/ody/route/repository/ApiCallRepositoryTest.java index 723901a87..39145a975 100644 --- a/backend/src/test/java/com/ody/route/repository/ApiCallRepositoryTest.java +++ b/backend/src/test/java/com/ody/route/repository/ApiCallRepositoryTest.java @@ -47,7 +47,7 @@ void findFirstByDateBetweenAndClientType() { apiCallRepository.save(secondDateApiCall); apiCallRepository.save(firstDateApiCall); - Optional actual = apiCallRepository.findFirstByDateBetweenAndClientType(firstDay, now, clientType); + Optional actual = apiCallRepository.findFirstByDateBetweenAndClientType(firstDay, firstDay.plusDays(10), clientType); assertThat(actual).isPresent() .get().extracting(ApiCall::getDate).isEqualTo(firstDateApiCall.getDate());