From ea3816b550dc3e5c5de86b36b7831e6b02e8b8df Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Wed, 10 Jun 2015 15:11:19 +0200 Subject: [PATCH] Fix typo --- .../SpringApplicationLifecycleAutoConfigurationTests.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/admin/SpringApplicationLifecycleAutoConfigurationTests.java b/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/admin/SpringApplicationLifecycleAutoConfigurationTests.java index c952b49e4b8..2db19d36439 100644 --- a/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/admin/SpringApplicationLifecycleAutoConfigurationTests.java +++ b/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/admin/SpringApplicationLifecycleAutoConfigurationTests.java @@ -43,7 +43,7 @@ import static org.junit.Assert.fail; */ public class SpringApplicationLifecycleAutoConfigurationTests { - private static final String ENABLE_LIFECYCLE_PROP = "spring.application.admin.enabled=true"; + private static final String ENABLE_ADMIN_PROP = "spring.application.admin.enabled=true"; private static final String JMX_NAME_PROPERTY = "spring.application.admin.jmx-name"; @@ -78,7 +78,7 @@ public class SpringApplicationLifecycleAutoConfigurationTests { @Test public void registeredWithProperty() throws Exception { - load(ENABLE_LIFECYCLE_PROP); + load(ENABLE_ADMIN_PROP); ObjectName objectName = createDefaultObjectName(); ObjectInstance objectInstance = this.mBeanServer.getObjectInstance(objectName); assertNotNull("Lifecycle bean should have been registered", objectInstance); @@ -89,7 +89,7 @@ public class SpringApplicationLifecycleAutoConfigurationTests { String customJmxName = "org.acme:name=FooBar"; System.setProperty(JMX_NAME_PROPERTY, customJmxName); try { - load(ENABLE_LIFECYCLE_PROP); + load(ENABLE_ADMIN_PROP); try { this.mBeanServer.getObjectInstance(createObjectName(customJmxName)); }