Fix test (but not gh-380)

pull/382/head
Dave Syer 11 years ago
parent 41d80bc031
commit 56a693198b

@ -19,6 +19,7 @@ package org.springframework.boot.test;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Value; 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.Bean;
import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Configuration;
import org.springframework.context.support.PropertySourcesPlaceholderConfigurer; import org.springframework.context.support.PropertySourcesPlaceholderConfigurer;
@ -32,7 +33,7 @@ import static org.junit.Assert.assertFalse;
* @author Dave Syer * @author Dave Syer
*/ */
@RunWith(SpringJUnit4ClassRunner.class) @RunWith(SpringJUnit4ClassRunner.class)
@SpringApplicationConfiguration @SpringApplicationConfiguration(classes = Config.class)
public class SpringApplicationConfigurationJmxTests { public class SpringApplicationConfigurationJmxTests {
@Value("${spring.jmx.enabled}") @Value("${spring.jmx.enabled}")

Loading…
Cancel
Save