Revert reloadable message source support
Closes gh-14882 See gh-14699 See gh-13377
This commit is contained in:
@@ -73,7 +73,6 @@ public class DevToolsPropertyDefaultsPostProcessor implements EnvironmentPostPro
|
||||
properties.put("server.error.include-stacktrace", "ALWAYS");
|
||||
properties.put("server.servlet.jsp.init-parameters.development", "true");
|
||||
properties.put("spring.reactor.stacktrace-mode.enabled", "true");
|
||||
properties.put("spring.messages.reloadable", "true");
|
||||
PROPERTIES = Collections.unmodifiableMap(properties);
|
||||
}
|
||||
|
||||
|
||||
@@ -114,17 +114,6 @@ public class DevToolPropertiesIntegrationTests {
|
||||
.isEqualTo(ErrorProperties.IncludeStacktrace.ALWAYS.toString());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void postProcessEnablesMessageSourceReloadProperty() {
|
||||
SpringApplication application = new SpringApplication(TestConfiguration.class);
|
||||
application.setWebApplicationType(WebApplicationType.NONE);
|
||||
this.context = application.run();
|
||||
ConfigurableEnvironment environment = this.context.getEnvironment();
|
||||
Boolean property = environment.getProperty("spring.messages.reloadable",
|
||||
Boolean.class);
|
||||
assertThat(property).isTrue();
|
||||
}
|
||||
|
||||
@Configuration
|
||||
static class TestConfiguration {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user