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 @Test
void runWhenHasNonOptionalImportAndFailFalsePropertyIgnoresException() { void runWhenHasNonOptionalImportAndAllOptionalPropertyIgnoresException() {
this.application.run("--spring.config.fail-on-location-not-found=false", this.application.run("--spring.config.all-locations-optional=true",
"--spring.config.location=classpath:missing-appplication.properties"); "--spring.config.location=classpath:missing-appplication.properties");
} }

Loading…
Cancel
Save