Skip to content

Commit

Permalink
chore: fix spring error
Browse files Browse the repository at this point in the history
  • Loading branch information
hantsy committed Jul 3, 2024
1 parent c662a61 commit af7934a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion spring/src/test/java/com/example/PostControllerTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import io.restassured.http.ContentType;
import org.junit.jupiter.api.Test;
import org.springframework.data.domain.PageImpl;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Pageable;

import java.util.List;
Expand All @@ -29,7 +30,9 @@ public void testGetAll() {
List.of(
Post.of(UUID.randomUUID(), "foo", "bar"),
Post.of(UUID.randomUUID(), "foo2", "bar2")
)
),
PageRequest.of(0, 10),
15
)
);

Expand Down

0 comments on commit af7934a

Please sign in to comment.