Commit 0ddf8be1 authored by Johnny Lim's avatar Johnny Lim Committed by Stephane Nicoll

Polish

See gh-20001
parent 7cb13eb1
...@@ -34,7 +34,7 @@ import static org.assertj.core.api.Assertions.assertThat; ...@@ -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 { ...@@ -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; ...@@ -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; ...@@ -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() {
......
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