Commit 56a69319 authored by Dave Syer's avatar Dave Syer

Fix test (but not gh-380)

parent 41d80bc0
......@@ -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}")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment