зеркало из https://github.com/Azure/ARO-RP.git
fix tests
This commit is contained in:
Родитель
26c70e3923
Коммит
c758444268
|
@ -22,7 +22,6 @@ import (
|
|||
"k8s.io/client-go/kubernetes/fake"
|
||||
|
||||
"github.com/Azure/ARO-RP/pkg/api"
|
||||
mock_env "github.com/Azure/ARO-RP/pkg/util/mocks/env"
|
||||
"github.com/Azure/ARO-RP/pkg/util/steps"
|
||||
"github.com/Azure/ARO-RP/pkg/util/version"
|
||||
testdatabase "github.com/Azure/ARO-RP/test/database"
|
||||
|
@ -145,13 +144,9 @@ func TestStepRunnerWithInstaller(t *testing.T) {
|
|||
controller := gomock.NewController(t)
|
||||
defer controller.Finish()
|
||||
|
||||
env := mock_env.NewMockInterface(controller)
|
||||
env.EXPECT().IsLocalDevelopmentMode().Return(false)
|
||||
|
||||
h, log := testlog.New()
|
||||
m := &manager{
|
||||
log: log,
|
||||
env: env,
|
||||
kubernetescli: tt.kubernetescli,
|
||||
configcli: tt.configcli,
|
||||
operatorcli: tt.operatorcli,
|
||||
|
|
Загрузка…
Ссылка в новой задаче