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) })