From 39b92250cc562c09174a9835c209c5ea3e7630d1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Sep 2024 23:40:51 +0200 Subject: [PATCH] Bump spring-boot.version from 3.2.3 to 3.3.4 (#1905) * Bump spring-boot.version from 3.2.3 to 3.3.4 Bumps `spring-boot.version` from 3.2.3 to 3.3.4. Updates `org.springframework.boot:spring-boot-starter-web` from 3.2.3 to 3.3.4 - [Release notes](https://github.com/spring-projects/spring-boot/releases) - [Commits](https://github.com/spring-projects/spring-boot/compare/v3.2.3...v3.3.4) Updates `org.springframework.boot:spring-boot-starter-undertow` from 3.2.3 to 3.3.4 - [Release notes](https://github.com/spring-projects/spring-boot/releases) - [Commits](https://github.com/spring-projects/spring-boot/compare/v3.2.3...v3.3.4) Updates `org.springframework.boot:spring-boot-starter-test` from 3.2.3 to 3.3.4 - [Release notes](https://github.com/spring-projects/spring-boot/releases) - [Commits](https://github.com/spring-projects/spring-boot/compare/v3.2.3...v3.3.4) Updates `org.springframework.boot:spring-boot-starter-webflux` from 3.2.3 to 3.3.4 - [Release notes](https://github.com/spring-projects/spring-boot/releases) - [Commits](https://github.com/spring-projects/spring-boot/compare/v3.2.3...v3.3.4) Updates `org.springframework.boot:spring-boot-dependencies` from 3.2.3 to 3.3.4 - [Release notes](https://github.com/spring-projects/spring-boot/releases) - [Commits](https://github.com/spring-projects/spring-boot/compare/v3.2.3...v3.3.4) Updates `org.springframework.boot:spring-boot-autoconfigure` from 3.2.3 to 3.3.4 - [Release notes](https://github.com/spring-projects/spring-boot/releases) - [Commits](https://github.com/spring-projects/spring-boot/compare/v3.2.3...v3.3.4) Updates `org.springframework.boot:spring-boot-configuration-processor` from 3.2.3 to 3.3.4 - [Release notes](https://github.com/spring-projects/spring-boot/releases) - [Commits](https://github.com/spring-projects/spring-boot/compare/v3.2.3...v3.3.4) --- updated-dependencies: - dependency-name: org.springframework.boot:spring-boot-starter-web dependency-type: direct:development update-type: version-update:semver-minor - dependency-name: org.springframework.boot:spring-boot-starter-undertow dependency-type: direct:development update-type: version-update:semver-minor - dependency-name: org.springframework.boot:spring-boot-starter-test dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.springframework.boot:spring-boot-starter-webflux dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.springframework.boot:spring-boot-dependencies dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.springframework.boot:spring-boot-autoconfigure dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.springframework.boot:spring-boot-configuration-processor dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * update the MultiFilterTest and bump logback versions * cast to LocalResponse in getResponse --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Karen Asmarian Co-authored-by: Sadeq Dousti <3616518+msdousti@users.noreply.github.com> --- logbook-parent/pom.xml | 6 +++--- .../java/org/zalando/logbook/servlet/MultiFilterTest.java | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/logbook-parent/pom.xml b/logbook-parent/pom.xml index 5987d49f2..165d26c49 100644 --- a/logbook-parent/pom.xml +++ b/logbook-parent/pom.xml @@ -38,14 +38,14 @@ 13.4 6.1.13 - 3.2.3 + 3.3.4 5.10.2 5.1.1 1.37 1.18.34 - 1.5.6 - 1.4.14 + 1.5.8 + 1.5.8 3.17.0 3.9.1 diff --git a/logbook-servlet/src/test/java/org/zalando/logbook/servlet/MultiFilterTest.java b/logbook-servlet/src/test/java/org/zalando/logbook/servlet/MultiFilterTest.java index adb4aba46..e0d23c2d2 100644 --- a/logbook-servlet/src/test/java/org/zalando/logbook/servlet/MultiFilterTest.java +++ b/logbook-servlet/src/test/java/org/zalando/logbook/servlet/MultiFilterTest.java @@ -2,6 +2,7 @@ import jakarta.servlet.Filter; import jakarta.servlet.ServletException; +import jakarta.servlet.http.HttpServletResponseWrapper; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.mockito.ArgumentCaptor; @@ -131,9 +132,9 @@ private LocalResponse getResponse(final Filter filter) throws IOException, Servl } private LocalResponse getResponse(final ExampleController controller) throws IOException { - final ArgumentCaptor captor = ArgumentCaptor.forClass(LocalResponse.class); + final ArgumentCaptor captor = ArgumentCaptor.forClass(HttpServletResponseWrapper.class); verify(controller).readBytes(any(), captor.capture()); - return captor.getValue(); + return (LocalResponse) captor.getValue().getResponse(); } }