-
Notifications
You must be signed in to change notification settings - Fork 5
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
[BE] issue47: 태그 목록 검색 및 조회 #57
Conversation
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.
짱짱 👍🪐
- 짱구, 린론-
.collect(Collectors.toList()); | ||
return new TagsResponse(tagsResponse); | ||
} | ||
} |
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.
EOF! 😱
.then().log().all() | ||
.statusCode(HttpStatus.OK.value()) | ||
.body("tags", hasSize(5)) | ||
.body("tags.id", not(empty())) |
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.
해당 내용으로 반영한 거 좋네요 ~ 👍
@BeforeEach | ||
void setUp() { | ||
tagRepository = Mockito.mock(TagRepository.class); | ||
when(tagRepository.findAllByNameContainingIgnoreCase("")).thenReturn(List.of( |
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.
한 줄에 점 하나로 하면 보기 편할 것 같아요!
요약
태그 목록을 조회하고 검색한다.
세부사항
close #47