Skip to content

Commit 20ceb93

Browse files
committed
test(search): test 수정
1 parent be7a3a3 commit 20ceb93

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/test/java/com/somemore/community/repository/CommunityBoardDocumentRepositoryTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ void findByCommunityBoardsContaining() {
5252

5353
//then
5454
assertThat(findBoards).isNotNull();
55-
assertThat(findBoards.getTotalElements()).isEqualTo(9);
55+
assertThat(findBoards.getTotalElements()).isEqualTo(10);
5656
assertThat(findBoards.getSize()).isEqualTo(10);
5757
assertThat(findBoards.getTotalPages()).isEqualTo(1);
5858
}

src/test/java/com/somemore/community/service/board/CommunityBoardDocumentServiceTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ void getCommunityBoardBySearch() {
6161
//then
6262
assertThat(dtos).isNotNull();
6363
assertThat(dtos.getContent()).isNotNull();
64-
assertThat(dtos.getTotalElements()).isEqualTo(9);
64+
assertThat(dtos.getTotalElements()).isEqualTo(10);
6565
assertThat(dtos.getSize()).isEqualTo(10);
6666
assertThat(dtos.getTotalPages()).isEqualTo(1);
6767
}

src/test/java/com/somemore/community/service/board/CommunityBoardQueryServiceTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ void saveCommunityBoardDocuments() {
169169

170170
assertThat(dtos).isNotNull();
171171
assertThat(dtos.getContent()).isNotNull();
172-
assertThat(dtos.getTotalElements()).isEqualTo(15);
172+
assertThat(dtos.getTotalElements()).isEqualTo(16);
173173
assertThat(dtos.getSize()).isEqualTo(10);
174174
assertThat(dtos.getTotalPages()).isEqualTo(2);
175175

0 commit comments

Comments
 (0)