See gh-20001
pull/20002/head
Johnny Lim 5 years ago committed by Stephane Nicoll
parent 7cb13eb16e
commit 0ddf8be151

@ -34,7 +34,7 @@ import static org.assertj.core.api.Assertions.assertThat;
* *
* @author Johannes Graf * @author Johannes Graf
*/ */
class StackdriverMetricsExportAutoConfigurationTest { class StackdriverMetricsExportAutoConfigurationTests {
private final ApplicationContextRunner contextRunner = new ApplicationContextRunner() private final ApplicationContextRunner contextRunner = new ApplicationContextRunner()
.withConfiguration(AutoConfigurations.of(StackdriverMetricsExportAutoConfiguration.class)); .withConfiguration(AutoConfigurations.of(StackdriverMetricsExportAutoConfiguration.class));
@ -45,7 +45,7 @@ class StackdriverMetricsExportAutoConfigurationTest {
} }
@Test @Test
void failsWithoutAnProjectId() { void failsWithoutAProjectId() {
this.contextRunner.withUserConfiguration(BaseConfiguration.class) this.contextRunner.withUserConfiguration(BaseConfiguration.class)
.run((context) -> assertThat(context).hasFailed()); .run((context) -> assertThat(context).hasFailed());
} }

@ -25,7 +25,7 @@ import static org.assertj.core.api.Assertions.assertThat;
* *
* @author Johannes Graf * @author Johannes Graf
*/ */
class StackdriverPropertiesConfigAdapterTest { class StackdriverPropertiesConfigAdapterTests {
@Test @Test
void whenPropertiesProjectIdIsSetAdapterProjectIdReturnsIt() { void whenPropertiesProjectIdIsSetAdapterProjectIdReturnsIt() {

@ -28,7 +28,7 @@ import static org.assertj.core.api.Assertions.assertThat;
* *
* @author Johannes Graf * @author Johannes Graf
*/ */
class StackdriverPropertiesTest extends StepRegistryPropertiesTests { class StackdriverPropertiesTests extends StepRegistryPropertiesTests {
@Test @Test
void defaultValuesAreConsistent() { void defaultValuesAreConsistent() {
Loading…
Cancel
Save