diff --git a/jhipster-framework/src/test/java/tech/jhipster/web/util/PaginationUtilTest.java b/jhipster-framework/src/test/java/tech/jhipster/web/util/PaginationUtilTest.java index 8ec181016..32576d864 100644 --- a/jhipster-framework/src/test/java/tech/jhipster/web/util/PaginationUtilTest.java +++ b/jhipster-framework/src/test/java/tech/jhipster/web/util/PaginationUtilTest.java @@ -114,10 +114,11 @@ void multiplePagesTest() { assertThat(strHeaders).hasSize(1); headerData = strHeaders.get(0); assertThat(headerData.split(",")).hasSize(4); - expectedData = "; rel=\"next\"," + - "; rel=\"prev\"," + - "; rel=\"last\"," + - "; rel=\"first\""; + expectedData = + "; rel=\"next\"," + + "; rel=\"prev\"," + + "; rel=\"last\"," + + "; rel=\"first\""; assertThat(headerData).isEqualTo(expectedData); xTotalCountHeaders = headers.get("X-Total-Count"); assertThat(xTotalCountHeaders).hasSize(1).extracting(Long::parseLong).containsExactly(400L); @@ -131,10 +132,11 @@ void multiplePagesTest() { assertThat(strHeaders).hasSize(1); headerData = strHeaders.get(0); assertThat(headerData.split(",")).hasSize(4); - expectedData = "; rel=\"next\"," + - "; rel=\"prev\"," + - "; rel=\"last\"," + - "; rel=\"first\""; + expectedData = + "; rel=\"next\"," + + "; rel=\"prev\"," + + "; rel=\"last\"," + + "; rel=\"first\""; assertThat(headerData).isEqualTo(expectedData); xTotalCountHeaders = headers.get("X-Total-Count"); assertThat(xTotalCountHeaders).hasSize(1).extracting(Long::parseLong).containsExactly(400L); @@ -148,9 +150,10 @@ void multiplePagesTest() { assertThat(strHeaders).hasSize(1); headerData = strHeaders.get(0); assertThat(headerData.split(",")).hasSize(3); - expectedData = "; rel=\"prev\"," + - "; rel=\"last\"," + - "; rel=\"first\""; + expectedData = + "; rel=\"prev\"," + + "; rel=\"last\"," + + "; rel=\"first\""; assertThat(headerData).isEqualTo(expectedData); } diff --git a/package.json b/package.json index 2ee970cae..962e46c52 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,6 @@ }, "devDependencies": { "prettier": "3.3.3", - "prettier-plugin-java": "2.6.4" + "prettier-plugin-java": "2.6.5" } }