Skip to content

Commit

Permalink
test: apiCall 테스트 조회 기간 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
coli-geonwoo committed Nov 2, 2024
1 parent f847a27 commit 214fe46
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ void findFirstByDateBetweenAndClientType() {
apiCallRepository.save(secondDateApiCall);
apiCallRepository.save(firstDateApiCall);

Optional<ApiCall> actual = apiCallRepository.findFirstByDateBetweenAndClientType(firstDay, now, clientType);
Optional<ApiCall> actual = apiCallRepository.findFirstByDateBetweenAndClientType(firstDay, firstDay.plusDays(10), clientType);

assertThat(actual).isPresent()
.get().extracting(ApiCall::getDate).isEqualTo(firstDateApiCall.getDate());
Expand Down

0 comments on commit 214fe46

Please sign in to comment.