Skip to content

Commit

Permalink
fixed undeclared code
Browse files Browse the repository at this point in the history
  • Loading branch information
neel-astro committed Sep 19, 2022
1 parent bee657a commit 2c9618c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions airflow/docker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
})
Expand Down

0 comments on commit 2c9618c

Please sign in to comment.