Skip to content

fix(meetupDetail): 만료된 테스트 픽스처 날짜 교체#359

Merged
Geunone2 merged 2 commits into
developfrom
#358-fix-test
May 4, 2026
Merged

fix(meetupDetail): 만료된 테스트 픽스처 날짜 교체#359
Geunone2 merged 2 commits into
developfrom
#358-fix-test

Conversation

@Geunone2
Copy link
Copy Markdown
Collaborator

@Geunone2 Geunone2 commented May 4, 2026

🛠️ 설명 (Description)

테스트 데이터의 날짜가, 현재 시각 기준으로 과거 날짜로 전환됨으로써,
날짜/마감 유효성 검사에서 의도치않게 필터링되는 문제가 발생했습니다.

이를 해결하기 위해, 테스트 데이터의 날짜를 일부 조정하였습니다.

📄 설계 문서 (Design Document)

📝 변경 사항 요약 (Summary)

  • 테스트 데이터 날짜를 미래 날짜(2099 ~) 값으로 설정

💁 변경 사항 이유 (Why)

  • 테스트 코드 정상 동작을 위한 날짜 데이터 값 수정

✅ 테스트 계획 (Test Plan)

🔗 관련 이슈 (Related Issues)

☑️ 체크리스트 (Checklist)

  • 코드가 프로젝트 코딩 컨벤션을 따릅니다.
  • 테스트 코드가 작성되었고, 통과했습니다.
  • 변경 사항에 대한 문서화가 완료되었습니다.
  • 필요한 경우, 다른 팀원에게 리뷰를 요청했습니다.
  • CI/CD 파이프라인이 성공했습니다.

👀 리뷰어를 위한 참고 사항 (Notes for Reviewers)

  • 테스트 데이터 날짜의 값이 현재 시각 기준으로 과거의 날짜 값으로 변경되어 발생한 문제였습니다.
    해당 문제를 해결하기 위해 미래 날짜(2099~)로 변경하였습니다.

➕ 추가 정보 (Additional Information)

- 고정값인 날짜가 현재 시각 기준으로 과거 값이되는 문제 해결

Resolves: #358
@Geunone2 Geunone2 requested a review from jay0425 May 4, 2026 09:43
@Geunone2 Geunone2 self-assigned this May 4, 2026
@Geunone2 Geunone2 added fix 버그 수정 test 테스트 코드 추가/수정 labels May 4, 2026
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates test data dates to the year 2099 to prevent test expiration. Feedback suggests using dynamic dates or fake timers instead of hardcoding far-future years to improve long-term maintainability. Additionally, a logical inconsistency was identified in util.test.ts where the registration end date is set after the meeting date, which should be corrected to maintain realistic test data.

Comment thread features/meetupDetail/testUtils.ts
Comment thread features/meetupDetail/util.test.ts Outdated
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 4, 2026

🧷 Preview: https://reboot-rokr1isbf-code-base.vercel.app
⏰ 배포 시각: 2026년 05월 04일 18시 45분

Copy link
Copy Markdown
Collaborator

@jay0425 jay0425 left a comment

Choose a reason for hiding this comment

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

빠른 수정 감사합니다. 바로 머지해주셔도 좋을거 같습니다.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 4, 2026

🧷 Preview: https://reboot-kkmwdwnur-code-base.vercel.app
⏰ 배포 시각: 2026년 05월 04일 18시 49분

@Geunone2 Geunone2 merged commit 6c8920e into develop May 4, 2026
1 check passed
@Geunone2 Geunone2 deleted the #358-fix-test branch May 4, 2026 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix 버그 수정 test 테스트 코드 추가/수정

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] 모임 상세 페이지 일부 테스트 코드 실패

2 participants