Commit 83626c7c authored by Andy Wilkinson's avatar Andy Wilkinson

Polish metrics export auto-configuration tests

parent b3c1b252
......@@ -19,7 +19,6 @@ package org.springframework.boot.actuate.autoconfigure.metrics.export.newrelic;
import java.util.Map;
import io.micrometer.core.instrument.Clock;
import io.micrometer.influx.InfluxMeterRegistry;
import io.micrometer.newrelic.NewRelicConfig;
import io.micrometer.newrelic.NewRelicMeterRegistry;
import org.junit.Test;
......@@ -51,7 +50,7 @@ public class NewRelicMetricsExportAutoConfigurationTests {
@Test
public void backsOffWithoutAClock() {
this.runner.run((context) -> assertThat(context)
.doesNotHaveBean(InfluxMeterRegistry.class));
.doesNotHaveBean(NewRelicMeterRegistry.class));
}
@Test
......
......@@ -19,7 +19,6 @@ package org.springframework.boot.actuate.autoconfigure.metrics.export.signalfx;
import java.util.Map;
import io.micrometer.core.instrument.Clock;
import io.micrometer.influx.InfluxMeterRegistry;
import io.micrometer.signalfx.SignalFxConfig;
import io.micrometer.signalfx.SignalFxMeterRegistry;
import org.junit.Test;
......@@ -50,7 +49,7 @@ public class SignalFxMetricsExportAutoConfigurationTests {
@Test
public void backsOffWithoutAClock() {
this.runner.run((context) -> assertThat(context)
.doesNotHaveBean(InfluxMeterRegistry.class));
.doesNotHaveBean(SignalFxMeterRegistry.class));
}
@Test
......
......@@ -37,7 +37,7 @@ import static org.mockito.Mockito.mock;
*
* @author Andy Wilkinson
*/
public class SimplMetricsExportAutoConfigurationTests {
public class SimpleMetricsExportAutoConfigurationTests {
private final ApplicationContextRunner runner = new ApplicationContextRunner()
.withConfiguration(
......
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