Polish docker compose code

This commit is contained in:
Moritz Halbritter
2023-04-28 11:14:35 +02:00
parent 8abebd75fb
commit 75207db6be
15 changed files with 23 additions and 25 deletions

View File

@@ -115,7 +115,7 @@ class DockerComposeLifecycleManagerTests {
@Test
void startupWhenInTestDoesNotStart() {
given(this.skipCheck.shouldSkip(any(), any(), any())).willReturn(true);
given(this.skipCheck.shouldSkip(any(), any())).willReturn(true);
EventCapturingListener listener = new EventCapturingListener();
this.eventListeners.add(listener);
setupRunningServices();

View File

@@ -56,7 +56,7 @@ class DockerComposeListenerTests {
then(listener.getManager()).should().startup();
}
class TestDockerComposeListener extends DockerComposeListener {
static class TestDockerComposeListener extends DockerComposeListener {
private final ConfigurableApplicationContext context;

View File

@@ -67,7 +67,7 @@ class ServiceReadinessChecksTests {
private List<RunningService> runningServices;
private MockServiceReadinessCheck mockTcpCheck = new MockServiceReadinessCheck();
private final MockServiceReadinessCheck mockTcpCheck = new MockServiceReadinessCheck();
@BeforeEach
void setup() {