Fix global optional config data opt-out test

See gh-23097
This commit is contained in:
Phillip Webb 2020-08-26 21:06:09 -07:00
parent aa0f204732
commit a2530ad5f1
1 changed files with 2 additions and 2 deletions

View File

@ -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");
}