-
Notifications
You must be signed in to change notification settings - Fork 1
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
[POM-76] test: 일 정산 조회 테스트 코드 작성 #56
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@@ -17,4 +18,18 @@ public record DailySettlementResponse( | |||
int payOutAmount | |||
) { | |||
|
|||
public DailySettlementResponse(Settlement settlement) { | |||
this( | |||
settlement.getPayOut().getPayOutDate(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
get.get이 좀 거슬리긴 하지만...
도메인에 대해서는 현지님이 더 잘 아시기에 별도의 이유가 있을거라 생각합니다.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PayOut이 값 객체라 해당 방식으로 구현헀습니다..!
.isInstanceOf(IllegalArgumentException.class); | ||
} | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
공백 제거해주세용
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🐝
📌 구현 설명
일 정산 조회 테스트 코드 작성
👩💻 요구 사항과 구현 내용