From 70ff397188f44ecd386c78b8a6ce01e6765401bf Mon Sep 17 00:00:00 2001 From: Spencer Gibb Date: Wed, 21 Mar 2018 10:48:33 -0400 Subject: [PATCH] Moves to new classpath exclusion classes --- .../cloud/bootstrap/encrypt/RsaDisabledTests.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/spring-cloud-context/src/test/java/org/springframework/cloud/bootstrap/encrypt/RsaDisabledTests.java b/spring-cloud-context/src/test/java/org/springframework/cloud/bootstrap/encrypt/RsaDisabledTests.java index faae8fe7..d1ad1c3b 100644 --- a/spring-cloud-context/src/test/java/org/springframework/cloud/bootstrap/encrypt/RsaDisabledTests.java +++ b/spring-cloud-context/src/test/java/org/springframework/cloud/bootstrap/encrypt/RsaDisabledTests.java @@ -16,13 +16,15 @@ package org.springframework.cloud.bootstrap.encrypt; */ import java.util.Map; + import org.junit.After; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; + import org.springframework.boot.builder.SpringApplicationBuilder; -import org.springframework.cloud.ClassPathExclusions; -import org.springframework.cloud.FilteredClassPathRunner; +import org.springframework.cloud.test.ClassPathExclusions; +import org.springframework.cloud.test.ModifiedClassPathRunner; import org.springframework.context.ConfigurableApplicationContext; import static org.hamcrest.MatcherAssert.assertThat; @@ -31,7 +33,7 @@ import static org.hamcrest.Matchers.hasSize; /** * @author Ryan Baxter */ -@RunWith(FilteredClassPathRunner.class) +@RunWith(ModifiedClassPathRunner.class) @ClassPathExclusions({"spring-security-rsa*.jar"}) public class RsaDisabledTests {