We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d153ca commit 16e7c99Copy full SHA for 16e7c99
spring-boot/src/test/java/org/springframework/boot/context/config/ConfigFileApplicationListenerTests.java
@@ -460,7 +460,8 @@ public void specificResourceDefaultsToFile() throws Exception {
460
461
@Test
462
public void absoluteResourceDefaultsToFile() throws Exception {
463
- String location = new File("src/test/resources/specificlocation.properties").getAbsolutePath();
+ String location = new File("src/test/resources/specificlocation.properties")
464
+ .getAbsolutePath();
465
EnvironmentTestUtils.addEnvironment(this.environment, "spring.config.location:"
466
+ location);
467
this.initializer.onApplicationEvent(this.event);
0 commit comments