Fix global optional config data opt-out test
See gh-23097
This commit is contained in:
parent
aa0f204732
commit
a2530ad5f1
|
@ -550,8 +550,8 @@ class ConfigDataEnvironmentPostProcessorIntegrationTests {
|
|||
}
|
||||
|
||||
@Test
|
||||
void runWhenHasNonOptionalImportAndFailFalsePropertyIgnoresException() {
|
||||
this.application.run("--spring.config.fail-on-location-not-found=false",
|
||||
void runWhenHasNonOptionalImportAndAllOptionalPropertyIgnoresException() {
|
||||
this.application.run("--spring.config.all-locations-optional=true",
|
||||
"--spring.config.location=classpath:missing-appplication.properties");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue