-
Notifications
You must be signed in to change notification settings - Fork 1
[TEST] Reservation 관련 서비스 테스트 #229
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
Conversation
chanwonlee
left a comment
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.
pr에 자세하게 테스트 목록을 작성해 주셔서 코드 확인하기 수월했습니다! 고생하셨습니다!
src/test/java/com/sudo/railo/booking/application/ReservationServiceTest.java
Show resolved
Hide resolved
EndlessMilkyway
left a comment
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.
도메인이 복잡해서 테스트를 작성하기 힘드셨을텐데도 불구하고 잘 해주신 것 같습니다. 고생하셨습니다! 👍
Ogu1208
left a comment
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.
저도 열차 조회 테스트 코드 작성하면서 예약쪽 데이터 생성에 머리가 아팠는데 이쪽도 만만치 않군요.. ㅠㅠ
고생하셨습니다!! 👍👍
src/test/java/com/sudo/railo/booking/application/ReservationServiceTest.java
Outdated
Show resolved
Hide resolved
3613456 to
fa83dd9
Compare
관련 Issue (필수)
주요 변경 사항 (필수)
ReservationService테스트 코드 작성SeatReservationService테스트 코드 작성TicketService테스트 코드 작성리뷰어 참고 사항
Warning
위 PR을 반영하여 작업한 브랜치 입니다.
GitHub 상 코드리뷰가 편하도록 작업한 커밋만 분리했습니다.
이 PR 단독으로 테스트가 불가능하며, 별도로 반영해 주셔야 테스트 가능합니다.
모두 머지 또는 해결된 후 리베이스하겠습니다!
booking.application.dto.response의TicketReadResponse에서,Long seatReservationId를 주석처리해주셔야TicketService테스트를 정상적으로 진행할 수 있습니다.작성한 테스트 코드는 다음과 같습니다.
ReservationServiceSeatReservationServiceTicketService추가 정보
없음
PR 작성 체크리스트 (필수)