(fix) : 멤버별 정산내역 입금 확인 요청 ID 추가#57
Conversation
|
Warning Review limit reached
More reviews will be available in 47 minutes and 26 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
Walkthrough정산 멤버 지출 상세 조회 API에서 현재 사용자 정보를 기반으로 정산 작성자를 판별한 후, 작성자인 경우에만 멤버별 펜딩 결제 요청 ID를 조회하여 응답에 포함하도록 변경했습니다. Changes멤버 지출 조회에 결제 요청 ID 매핑
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
📝 테스트 커버리지 리포트입니다!
|
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In
`@src/test/java/com/dnd/moddo/domain/memberExpense/service/QueryMemberExpenseServiceTest.java`:
- Around line 124-125: The test relies on GroupTestFactory.createDefault() which
fixes the settlement writer to 1L, causing brittle behavior around
Settlement.isWriter(userId) and the branch in
QueryMemberExpenseService.findMemberExpenseDetailsBySettlementId that calls
paymentRequestReader.findPendingRequestIdByMemberId(...); explicitly set the
settlement's writer to the userId under test (e.g., adjust mockSettlement or
create the Settlement via a factory method that accepts writer) before
stubbing/verifying paymentRequestReader so the writer check aligns with the
tested userId rather than relying on createDefault()'s hardcoded 1L.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: be384a6b-c8a6-41ad-8bfe-079ab25861c5
📒 Files selected for processing (5)
src/main/java/com/dnd/moddo/event/application/query/QueryMemberExpenseService.javasrc/main/java/com/dnd/moddo/event/presentation/MemberExpenseController.javasrc/main/java/com/dnd/moddo/event/presentation/response/MemberExpenseItemResponse.javasrc/test/java/com/dnd/moddo/domain/memberExpense/controller/MemberExpenseControllerTest.javasrc/test/java/com/dnd/moddo/domain/memberExpense/service/QueryMemberExpenseServiceTest.java
📝 테스트 커버리지 리포트입니다!
|
#️⃣연관된 이슈
X
🔀반영 브랜치
fix/payment-request-settlement-detail -> develop
🔧변경 사항
💬리뷰 요구사항(선택)
X
Summary by CodeRabbit
릴리스 노트