Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat #127] 채팅방 목록 API 페이징, 테스트 추가 #128

Open
wants to merge 8 commits into
base: dev
Choose a base branch
from

Conversation

hyun2371
Copy link
Member

@hyun2371 hyun2371 commented Oct 2, 2024

관련 이슈

📑 작업 상세 내용

  • 채팅방 목록 List 반환 -> PageResponse 반환
    • ChatRoomInfo 조회 시 Slice로 조회
  • 통합 테스트 파라미터 검증
  • 단위 테스트 코드 추가

💫 작업 요약

  • 채팅방 목록 API 페이징
  • 채팅방 목록 API 테스트 작성

🔍 중점적으로 리뷰 할 부분

@hyun2371 hyun2371 added the ✨ feat 기능 추가 label Oct 2, 2024
@hyun2371 hyun2371 requested a review from dudxo October 2, 2024 11:48
@hyun2371 hyun2371 self-assigned this Oct 2, 2024
@hyun2371 hyun2371 linked an issue Oct 2, 2024 that may be closed by this pull request
4 tasks
Copy link

github-actions bot commented Oct 2, 2024

Code Coverage

Overall Project 86.42% -0.14% 🍏
Files changed 92.94% 🍏

File Coverage
ChatRoomController.java 100% 🍏
ChatRoomQueryRepositoryImpl.java 95.38% -4.62% 🍏
ChatRoomService.java 92.13% 🍏

Copy link

github-actions bot commented Oct 2, 2024

Test Results

 25 files   25 suites   16s ⏱️
119 tests 119 ✅ 0 💤 0 ❌
120 runs  120 ✅ 0 💤 0 ❌

Results for commit f0995ba.

Copy link
Collaborator

@dudxo dudxo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

시험은 잘 보셨나요?!

수고 하셨습니다~!

return chatRoomInfos.stream()

// 최신순 정렬 및 변환
List<ChatRoomSimpleResponse> responsePage = chatRoomInfos.stream()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

정렬 및 반환 메서드가 따로 분리되면 한층 보기 좋아질 것 같네요!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ feat 기능 추가
Projects
None yet
Development

Successfully merging this pull request may close these issues.

✨ 채팅방 목록 API 페이징, 테스트 추가
2 participants