From 3eb3f7203ef6e9b94d2da1d64018db620ca1e14b Mon Sep 17 00:00:00 2001 From: wellbeing-dough Date: Sat, 17 Feb 2024 17:38:55 +0900 Subject: [PATCH] =?UTF-8?q?[Test]=20:=20=EC=8A=A4=ED=84=B0=EB=94=94=5F?= =?UTF-8?q?=EA=B2=8C=EC=8B=9C=EA=B8=80=5F=EC=A0=9C=EB=AA=A9=EC=9C=BC?= =?UTF-8?q?=EB=A1=9C=5F=EA=B3=B5=EB=B0=B1=5F=EB=AC=B8=EC=9E=90=EC=97=B4?= =?UTF-8?q?=EC=9D=B4=5F=EB=93=A4=EC=96=B4=EC=98=A4=EB=A9=B4=5F=EC=A0=84?= =?UTF-8?q?=EC=B2=B4=5F=EA=B2=8C=EC=8B=9C=EA=B8=80=EC=9D=84=5F=EC=A1=B0?= =?UTF-8?q?=ED=9A=8C=ED=95=9C=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../studypost/repository/StudyPostRepositoryTest.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/test/java/kr/co/studyhubinu/studyhubserver/studypost/repository/StudyPostRepositoryTest.java b/src/test/java/kr/co/studyhubinu/studyhubserver/studypost/repository/StudyPostRepositoryTest.java index 0457f935..a6f4822c 100644 --- a/src/test/java/kr/co/studyhubinu/studyhubserver/studypost/repository/StudyPostRepositoryTest.java +++ b/src/test/java/kr/co/studyhubinu/studyhubserver/studypost/repository/StudyPostRepositoryTest.java @@ -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 posts = studyPostRepository.findByInquiry(inquiryRequest, PageRequest.of(0,2), 1L);