-
Notifications
You must be signed in to change notification settings - Fork 3
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
[AN] test : 클럽 필터 로직 테스트 #734
Conversation
Test Results77 tests 77 ✅ 1s ⏱️ Results for commit ab66a24. ♻️ This comment has been updated with latest results. |
@BeforeEach | ||
fun setUp() { | ||
clubFilterSelector = ClubFilterSelector() | ||
} | ||
|
||
@Test | ||
fun `필터를 추가하면 ClubFilterSelector에 해당 필터가 추가되어야 한다`() { | ||
clubFilterSelector = ClubFilterSelector() |
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.
테스트 고생하셨습니다~
이슈
개발 사항
전달 사항 (없으면 삭제해 주세요)
initClubFilter()
로직과 함께 사용하지 않으면currentSelectedFilters
가 초기화 되지 않아서 null 값으로 저장되고 있었습니다.addFilter()
에서 plus(1) 로직이 안먹어서 계속 null로 초기화 되는 문제 발생