1. 레시피 목록용 프로시저를 만들었다.
2. 레시피 목록 조회 api 쿼리 확인
recipeRepository.findAll(pageable) : 정렬 후 10개 가져오기
+ 반환값 page라 count 쿼리
recipeImageRepository.findByRecipe(recipe): 레시피에 딸린 이미지들 찾아오기
productRecipeRepository.findProductByRecipe(recipe): 레시피에 딸린 상품들 찾아오기
*10
recipe작성자 찾아오기
* M(최대 10)
3. 페이징 pr 리뷰
4. [펀잇] 이벤트 테스트 터지는거 해결
https://github.com/woowacourse-teams/2023-fun-eat/pull/778
[BE] fix: ReviewDeleteEventListenerTest 통과하도록 수정 by hanueleee · Pull Request #778 · woowacourse-teams/2023-fun-e
Issue close #777 ✨ 구현한 기능 기존에 통과했다 실패했다 하던 ReviewDeleteEventListenerTest 를 통과하도록 고쳤습니다. 📢 논의하고 싶은 내용 X 🎸 기타 X ⏰ 일정 추정 시간 : 1 걸린 시간 : 1
github.com
이벤트에 대한 테스트를 작성할 때는 항상 event.clear()를 해줘야한다!