From 887c3b71f3e65cb727226fdc4de7b97cade29585 Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Fri, 11 Oct 2019 09:43:48 +0900 Subject: [PATCH] Fix matchesNestedConfigurationClassWithoutTestMethodsIfItHasTestable() See gh-18559 --- .../boot/test/context/filter/TestTypeExcludeFilterTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-test/src/test/java/org/springframework/boot/test/context/filter/TestTypeExcludeFilterTests.java b/spring-boot-project/spring-boot-test/src/test/java/org/springframework/boot/test/context/filter/TestTypeExcludeFilterTests.java index 9c960e5e9c..759ea2de78 100644 --- a/spring-boot-project/spring-boot-test/src/test/java/org/springframework/boot/test/context/filter/TestTypeExcludeFilterTests.java +++ b/spring-boot-project/spring-boot-test/src/test/java/org/springframework/boot/test/context/filter/TestTypeExcludeFilterTests.java @@ -81,7 +81,7 @@ class TestTypeExcludeFilterTests { @Test void matchesNestedConfigurationClassWithoutTestMethodsIfItHasTestable() throws Exception { - assertThat(this.filter.match(getMetadataReader(AbstractJupiterTestWithConfigAndExtendWith.Config.class), + assertThat(this.filter.match(getMetadataReader(AbstractJupiterTestWithConfigAndTestable.Config.class), this.metadataReaderFactory)).isTrue(); }