From 2c9618c95d5791b85e29bd1a88b5714e57043006 Mon Sep 17 00:00:00 2001 From: neel-astro Date: Tue, 20 Sep 2022 00:58:37 +0530 Subject: [PATCH] fixed undeclared code --- airflow/docker_test.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/airflow/docker_test.go b/airflow/docker_test.go index 32777a4cc..f61f5f1e7 100644 --- a/airflow/docker_test.go +++ b/airflow/docker_test.go @@ -875,10 +875,6 @@ func TestCheckWebserverHealth(t *testing.T) { mockEventsCall.ReturnArguments = mock.Arguments{err} } - openURL = func(url string) error { - return nil - } - orgInitSetting := initSettings initSettings = func(id string, version uint64) error { return nil @@ -916,10 +912,6 @@ func TestCheckWebserverHealth(t *testing.T) { mockEventsCall.ReturnArguments = mock.Arguments{err} } - openURL = func(url string) error { - return nil - } - err := checkWebserverHealth(&types.Project{Name: "test"}, composeMock, 2) assert.ErrorIs(t, err, errMockDocker) })