Skip to content

[DEMBE-90] 약속에 참여한 유저의 인터렉션 정보를 약속 모음집 상세 응답값에 추가한다 #147

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

Merged
merged 4 commits into from
Jul 6, 2023

Conversation

kdomo
Copy link
Member

@kdomo kdomo commented Jul 4, 2023

개요

작업사항

  • 약속 모음집 상세에 유저별 인터렉션 정보 추가하였습니다 (카운트 내림차순 정렬)

@kdomo kdomo self-assigned this Jul 4, 2023
@kdomo kdomo requested review from ImNM and BlackBean99 as code owners July 4, 2023 16:11
Copy link
Member

@ImNM ImNM left a comment

Choose a reason for hiding this comment

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

엘쥐티엠

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jul 4, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

85.7% 85.7% Coverage
0.0% 0.0% Duplication

Copy link
Collaborator

@BlackBean99 BlackBean99 left a comment

Choose a reason for hiding this comment

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

굿굿!!!

Comment on lines 119 to 120
val promiseUserInfoVos = promiseUsers.mapNotNull { promiseUser ->
val user = users.find { it.id == promiseUser.userId }
Copy link
Collaborator

Choose a reason for hiding this comment

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

promiseUser-> 를 썼는데 it 을 쓰는게 상관은 없지만 맥락상 통일하는게 좋지 않을까요?

Comment on lines 109 to +112
Mockito.`when`(promiseUserAdaptor.findByUserId(userId)).thenReturn(promiseUsers)
Mockito.`when`(promiseAdaptor.queryPromises(listOf(1, 2))).thenReturn(promises)
Mockito.`when`(userAdapter.queryUsers(listOf(1))).thenReturn(users)
Mockito.`when`(interactionAdapter.queryAllInteraction(1, 1)).thenReturn(interactions)
Copy link
Collaborator

Choose a reason for hiding this comment

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

import 해서 Mockito 를 빼도 좋을 것 같아요! 본인 선택!

Copy link
Member Author

Choose a reason for hiding this comment

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

저기 모두 서현님이 짜신 코드인데 제가 변경할까용?
따로 안건들이긴 했습니당😬

@kdomo kdomo merged commit 1a36347 into develop Jul 6, 2023
@kdomo kdomo deleted the feature/DPMBE-90 branch July 6, 2023 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants