From 7e25c0dcddf6bff69c2eda27e08c9f17195c0d36 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Thu, 24 Nov 2016 16:46:34 +0100 Subject: [PATCH] Fix build --- .../ConditionalOnMissingBeanWithFilteredClasspathTests.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/condition/ConditionalOnMissingBeanWithFilteredClasspathTests.java b/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/condition/ConditionalOnMissingBeanWithFilteredClasspathTests.java index e19f41e09a..7c1d608487 100644 --- a/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/condition/ConditionalOnMissingBeanWithFilteredClasspathTests.java +++ b/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/condition/ConditionalOnMissingBeanWithFilteredClasspathTests.java @@ -20,8 +20,8 @@ import org.junit.After; import org.junit.Test; import org.junit.runner.RunWith; -import org.springframework.boot.testutil.ClassPathExclusions; -import org.springframework.boot.testutil.FilteredClassPathRunner; +import org.springframework.boot.junit.runner.classpath.ClassPathExclusions; +import org.springframework.boot.junit.runner.classpath.ModifiedClassPathRunner; import org.springframework.cache.caffeine.CaffeineCacheManager; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import org.springframework.context.annotation.Bean; @@ -35,7 +35,7 @@ import static org.assertj.core.api.Assertions.assertThat; * @author Stephane Nicoll * @author Andy Wilkinson */ -@RunWith(FilteredClassPathRunner.class) +@RunWith(ModifiedClassPathRunner.class) @ClassPathExclusions("spring-context-support-*.jar") public class ConditionalOnMissingBeanWithFilteredClasspathTests {