From 210b42b7d84ac7ff5fc4aaf5f2183a99c6de8047 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Mon, 4 Sep 2023 12:42:16 +0200 Subject: [PATCH] Polishing --- .../aot/samples/basic/BasicSpringJupiterSharedConfigTests.java | 2 +- .../test/context/aot/samples/basic/BasicSpringJupiterTests.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-test/src/test/java/org/springframework/test/context/aot/samples/basic/BasicSpringJupiterSharedConfigTests.java b/spring-test/src/test/java/org/springframework/test/context/aot/samples/basic/BasicSpringJupiterSharedConfigTests.java index 0d718798ee8..452a2abfc7a 100644 --- a/spring-test/src/test/java/org/springframework/test/context/aot/samples/basic/BasicSpringJupiterSharedConfigTests.java +++ b/spring-test/src/test/java/org/springframework/test/context/aot/samples/basic/BasicSpringJupiterSharedConfigTests.java @@ -40,7 +40,7 @@ import static org.assertj.core.api.Assertions.assertThat; @SpringJUnitConfig({BasicTestConfiguration.class, ManagementConfiguration.class}) @TestPropertySource(properties = "test.engine = jupiter") // We cannot use `classpath*:` in AOT tests until gh-31088 is resolved. -// @YamlTestProperties("classpath*:org/springframework/test/context/aot/samples/basic/**/test?.yaml") +// @YamlTestProperties("classpath*:**/aot/samples/basic/test?.yaml") @YamlTestProperties({ "classpath:org/springframework/test/context/aot/samples/basic/test1.yaml", "classpath:org/springframework/test/context/aot/samples/basic/test2.yaml" diff --git a/spring-test/src/test/java/org/springframework/test/context/aot/samples/basic/BasicSpringJupiterTests.java b/spring-test/src/test/java/org/springframework/test/context/aot/samples/basic/BasicSpringJupiterTests.java index 5230c24fcf6..038350e5ed1 100644 --- a/spring-test/src/test/java/org/springframework/test/context/aot/samples/basic/BasicSpringJupiterTests.java +++ b/spring-test/src/test/java/org/springframework/test/context/aot/samples/basic/BasicSpringJupiterTests.java @@ -50,7 +50,7 @@ import static org.springframework.test.context.TestExecutionListeners.MergeMode. @TestExecutionListeners(listeners = DummyTestExecutionListener.class, mergeMode = MERGE_WITH_DEFAULTS) @TestPropertySource(properties = "test.engine = jupiter") // We cannot use `classpath*:` in AOT tests until gh-31088 is resolved. -// @YamlTestProperties("classpath*:org/springframework/test/context/aot/samples/basic/**/test?.yaml") +// @YamlTestProperties("classpath*:**/aot/samples/basic/test?.yaml") @YamlTestProperties({ "classpath:org/springframework/test/context/aot/samples/basic/test1.yaml", "classpath:org/springframework/test/context/aot/samples/basic/test2.yaml"