Harmonize property name

The property default format is lower case using hyphen. The JMX default
domain property has been harmonized to that format.

Fixes gh-2427
This commit is contained in:
Stephane Nicoll
2015-01-29 16:42:24 +01:00
parent c346e996ed
commit d64cc082db
3 changed files with 3 additions and 3 deletions

View File

@@ -92,7 +92,7 @@ public class JmxAutoConfigurationTests {
public void testDefaultDomainConfiguredOnMBeanExport() {
MockEnvironment env = new MockEnvironment();
env.setProperty("spring.jmx.enabled", "true");
env.setProperty("spring.jmx.default_domain", "my-test-domain");
env.setProperty("spring.jmx.default-domain", "my-test-domain");
this.context = new AnnotationConfigApplicationContext();
this.context.setEnvironment(env);
this.context.register(TestConfiguration.class, JmxAutoConfiguration.class);