From 56a693198bafb768e7512e81f98d7da5f8241faf Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Thu, 20 Feb 2014 11:50:27 +0000 Subject: [PATCH] Fix test (but not gh-380) --- .../boot/test/SpringApplicationConfigurationJmxTests.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spring-boot/src/test/java/org/springframework/boot/test/SpringApplicationConfigurationJmxTests.java b/spring-boot/src/test/java/org/springframework/boot/test/SpringApplicationConfigurationJmxTests.java index ad45b50899..23d261ac11 100644 --- a/spring-boot/src/test/java/org/springframework/boot/test/SpringApplicationConfigurationJmxTests.java +++ b/spring-boot/src/test/java/org/springframework/boot/test/SpringApplicationConfigurationJmxTests.java @@ -19,6 +19,7 @@ package org.springframework.boot.test; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Value; +import org.springframework.boot.test.SpringApplicationConfigurationJmxTests.Config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.support.PropertySourcesPlaceholderConfigurer; @@ -32,7 +33,7 @@ import static org.junit.Assert.assertFalse; * @author Dave Syer */ @RunWith(SpringJUnit4ClassRunner.class) -@SpringApplicationConfiguration +@SpringApplicationConfiguration(classes = Config.class) public class SpringApplicationConfigurationJmxTests { @Value("${spring.jmx.enabled}")