From e8c1a9604cc0da3c917ea17ada14066a0b4a7c45 Mon Sep 17 00:00:00 2001 From: Corneil du Plessis Date: Fri, 8 Mar 2024 14:17:10 +0200 Subject: [PATCH] Fixed Skipper Smoke Tests after removing `org.springframework.cloud.common.security.CommonSecurityAutoConfiguration` that IDE incorrectly identified as not being an AutoConfiguration class. (#5729) --- .../skipper/server/db/migration/AbstractSkipperSmokeTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spring-cloud-skipper/spring-cloud-skipper-server/src/test/java/org/springframework/cloud/skipper/server/db/migration/AbstractSkipperSmokeTest.java b/spring-cloud-skipper/spring-cloud-skipper-server/src/test/java/org/springframework/cloud/skipper/server/db/migration/AbstractSkipperSmokeTest.java index 82c3f4da0e..6b6d83e4da 100644 --- a/spring-cloud-skipper/spring-cloud-skipper-server/src/test/java/org/springframework/cloud/skipper/server/db/migration/AbstractSkipperSmokeTest.java +++ b/spring-cloud-skipper/spring-cloud-skipper-server/src/test/java/org/springframework/cloud/skipper/server/db/migration/AbstractSkipperSmokeTest.java @@ -27,6 +27,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.session.SessionAutoConfiguration; import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.cloud.common.security.CommonSecurityAutoConfiguration; import org.springframework.cloud.deployer.spi.cloudfoundry.CloudFoundryDeployerAutoConfiguration; import org.springframework.cloud.deployer.spi.kubernetes.KubernetesAutoConfiguration; import org.springframework.cloud.deployer.spi.local.LocalDeployerAutoConfiguration; @@ -128,7 +129,8 @@ private static Release createRelease() { @SpringBootApplication(exclude = {CloudFoundryDeployerAutoConfiguration.class, LocalDeployerAutoConfiguration.class, KubernetesAutoConfiguration.class, - SessionAutoConfiguration.class + SessionAutoConfiguration.class, + CommonSecurityAutoConfiguration.class }) @EnableSkipperServer public static class LocalTestSkipperServer {