Skip to content

Commit e189d1f

Browse files
committed
fix[post]:myposts rollback
1 parent fca10ad commit e189d1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/src/test/java/com/ai/lawyer/domain/post/controller/PostControllerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ void t10_paged() throws Exception {
220220
);
221221
org.springframework.data.domain.PageImpl<com.ai.lawyer.domain.post.dto.PostDto> page = new org.springframework.data.domain.PageImpl<>(posts, pageable, 1);
222222
Mockito.when(postService.getMyPostspaged(Mockito.any(), Mockito.anyLong())).thenReturn(page);
223-
mockMvc.perform(get("/api/posts/my")
223+
mockMvc.perform(get("/api/posts/mypaged")
224224
.param("page", "0")
225225
.param("size", "10")
226226
.cookie(new Cookie("accessToken", "valid-access-token")))

0 commit comments

Comments
 (0)