Skip to content

Commit

Permalink
test: 평가 목록 조회 Controller 테스트 코드 수정 (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyeong-hyeok committed Sep 18, 2023
1 parent 45e0bc2 commit ab1a582
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ void setUp() {
//given
PageRequest pageable = PageRequest.of(0, 2);
List<EvaluationsGetResponseDto> dtos = new ArrayList<>();
dtos.add(new EvaluationsGetResponseDto(1L, "신라면", 1, 3));
dtos.add(new EvaluationsGetResponseDto(2L, "진라면", 2, 2));
dtos.add(new EvaluationsGetResponseDto(1L, "신라면", 3400, 1, 3));
dtos.add(new EvaluationsGetResponseDto(2L, "진라면", 1270, 2, 2));
Slice<EvaluationsGetResponseDto> response = new SliceImpl<>(dtos, pageable, false);

//when
Expand Down

0 comments on commit ab1a582

Please sign in to comment.