Commit 199cea20 authored by Stephane Nicoll's avatar Stephane Nicoll

Merge pull request #20001 from izeye

* pr/20001:
  Polish

Closes gh-20001
parents 7cb13eb1 0ddf8be1
...@@ -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