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

[POM-76] test: 일 정산 조회 테스트 코드 작성 #56

Merged
merged 8 commits into from
Sep 22, 2023

Conversation

hyeon-z
Copy link
Collaborator

@hyeon-z hyeon-z commented Sep 21, 2023

📌 구현 설명

일 정산 조회 테스트 코드 작성

👩‍💻 요구 사항과 구현 내용

  • repository 테스트 코드
  • service 테스트 코드
  • controller 테스트 코드

@hyeon-z hyeon-z added the TEST label Sep 21, 2023
@hyeon-z hyeon-z self-assigned this Sep 21, 2023
@hyeon-z hyeon-z marked this pull request as draft September 21, 2023 07:44
@hyeon-z hyeon-z marked this pull request as ready for review September 21, 2023 08:08
Copy link
Collaborator

@juno-junho juno-junho left a 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(),
Copy link
Collaborator

Choose a reason for hiding this comment

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

get.get이 좀 거슬리긴 하지만...
도메인에 대해서는 현지님이 더 잘 아시기에 별도의 이유가 있을거라 생각합니다.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

PayOut이 값 객체라 해당 방식으로 구현헀습니다..!

.isInstanceOf(IllegalArgumentException.class);
}


Copy link
Collaborator

Choose a reason for hiding this comment

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

공백 제거해주세용

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Copy link
Collaborator

@choi5798 choi5798 left a comment

Choose a reason for hiding this comment

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

🐝

@hyeon-z hyeon-z merged commit c3dfd80 into dev Sep 22, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants