Skip to content

Commit

Permalink
[Test] : 스터디_게시글_제목으로_공백_문자열이_들어오면_전체_게시글을_조회한다
Browse files Browse the repository at this point in the history
  • Loading branch information
wellbeing-dough committed Feb 17, 2024
1 parent 8d263b2 commit 3eb3f72
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,9 @@ class StudyPostRepositoryTest {
studyPostRepository.save(post1);
studyPostRepository.save(post2);
InquiryRequest inquiryRequest = InquiryRequest.builder().
inquiryText(searchKeyword).
build();
inquiryText(searchKeyword)
.titleAndMajor(true)
.build();

// when
List<PostDataByInquiry> posts = studyPostRepository.findByInquiry(inquiryRequest, PageRequest.of(0,2), 1L);
Expand Down

0 comments on commit 3eb3f72

Please sign in to comment.