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

[FEAT] 테마 리스트 별 루틴 리스트 조회 #21

Merged
merged 6 commits into from
Jan 9, 2024

Conversation

thguss
Copy link
Member

@thguss thguss commented Jan 9, 2024

✨ Related Issue

📝 기능 구현 명세

image

🐥 추가적인 언급 사항

  • Service Layer를 인터페이스로 분리함으로써 Controller과의 결합도와 의존성을 낮췄습니다.
  • 이전 PR에서 누락된 테스트 코드를 추가했습니다.

@thguss thguss added sohyeon 소현 작업 feat 기능 개발 labels Jan 9, 2024
@thguss thguss requested review from csb9427 and Chan531 January 9, 2024 09:52
@thguss thguss self-assigned this Jan 9, 2024
@m1njae
Copy link
Member

m1njae commented Jan 9, 2024

지켜보고 있다.. 화이팅!

Copy link
Contributor

@csb9427 csb9427 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 -9 to +10
SUCCESS_GET_THEMES("테마 조회 성공"),
SUCCESS_GET_THEME("데일리 루틴 테마 조회 성공"),
SUCCESS_GET_ROUTINE("데일리 루틴 조회 성공"),
Copy link
Contributor

Choose a reason for hiding this comment

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

우선은 각 폴더별로 ResponseMessage 이거 두고 좀 나중에는 이런 공통 메시지는 합칠까요? 어떻게 생각하시나요

Comment on lines +32 to +42
@MockBean
DailyRoutineController controller;

private final String DEFAULT_URL = "/api/v1/routines/daily";
private final String TAG = "DAILY ROUTINE";

@Test
@DisplayName("데일리 루틴 테마 리스트 조회 성공")
void success_getDailyThemes() throws Exception {
// given
DailyThemesResponse themes = DailyRoutineFixture.createDailyThemesResponseDTO();
Copy link
Contributor

Choose a reason for hiding this comment

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

테스트 코드까지 작성하는 거 진짜 개멋있다.. 리스펙

Copy link
Contributor

@Chan531 Chan531 left a comment

Choose a reason for hiding this comment

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

수고하셨습니다 ㅠㅠ

@thguss thguss merged commit fa2e17e into develop Jan 9, 2024
1 check passed
@thguss thguss deleted the feature/#20-routine-get-api branch January 9, 2024 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat 기능 개발 sohyeon 소현 작업
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEAT] 테마 리스트 별 데일리 루틴 리스트 조회
4 participants