Polish docker compose code
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -56,7 +56,7 @@ class DockerComposeListenerTests {
|
||||
then(listener.getManager()).should().startup();
|
||||
}
|
||||
|
||||
class TestDockerComposeListener extends DockerComposeListener {
|
||||
static class TestDockerComposeListener extends DockerComposeListener {
|
||||
|
||||
private final ConfigurableApplicationContext context;
|
||||
|
||||
|
||||
@@ -67,7 +67,7 @@ class ServiceReadinessChecksTests {
|
||||
|
||||
private List<RunningService> runningServices;
|
||||
|
||||
private MockServiceReadinessCheck mockTcpCheck = new MockServiceReadinessCheck();
|
||||
private final MockServiceReadinessCheck mockTcpCheck = new MockServiceReadinessCheck();
|
||||
|
||||
@BeforeEach
|
||||
void setup() {
|
||||
|
||||
Reference in New Issue
Block a user