From 01e9baa2257098385ae8fdc0c6062fcb1381a17d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Nicoll?= Date: Wed, 28 May 2025 15:02:39 +0200 Subject: [PATCH] Fix test dependencies of WebMvcTestOAuth2Tests This commit fixes the dependencies of spring-boot-test-autoconfigure so that it does not depend on a starter. See gh-45654 --- spring-boot-project/spring-boot-test-autoconfigure/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-test-autoconfigure/build.gradle b/spring-boot-project/spring-boot-test-autoconfigure/build.gradle index da0d388f839..513a8a12f65 100644 --- a/spring-boot-project/spring-boot-test-autoconfigure/build.gradle +++ b/spring-boot-project/spring-boot-test-autoconfigure/build.gradle @@ -110,9 +110,9 @@ dependencies { testImplementation("org.mockito:mockito-junit-jupiter") testImplementation("org.skyscreamer:jsonassert") testImplementation("org.springframework:spring-core-test") - testImplementation("org.springframework.boot:spring-boot-starter-oauth2-client") testImplementation("org.springframework.hateoas:spring-hateoas") testImplementation("org.springframework.plugin:spring-plugin-core") + testImplementation("org.springframework.security:spring-security-oauth2-client") testImplementation("org.thymeleaf:thymeleaf") }