Fix global optional config data opt-out test

See gh-23097
pull/23112/head
Phillip Webb 4 years ago
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…
Cancel
Save