Skip to content

Commit

Permalink
✅ test: yy,mm,dd 파라미터에서 LocalDate으로 형변환 되도록 테스트 수정 (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
synoti21 committed Nov 10, 2023
1 parent ba8e639 commit 0a27c16
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,10 @@ void testSaveFood() throws Exception {
@WithMockUser("test")
void testGetFoodListByDate() throws Exception {
//Given
LocalDate date = LocalDate.now();
int yy = 2023;
int dd = 22;
int mm = 12;
LocalDate date = LocalDate.of(yy, mm, dd);

ResponseFoodDto food1 = ResponseFoodDto.of(testFoodId, testUserId,"test", LocalDate.now(), LocalTime.now(),testBaseNutrition,false);

Expand Down

0 comments on commit 0a27c16

Please sign in to comment.