diff --git a/internal/controller/common_test.go b/internal/controller/common_test.go index d51c0b4..21745e4 100644 --- a/internal/controller/common_test.go +++ b/internal/controller/common_test.go @@ -26,10 +26,7 @@ func newFakeClient(objs ...client.Object) client.Client { } func newFakeManager() manager.Manager { - fakeConfig := &rest.Config{ - Host: "https://fake-api-server", - } - mgr, err := ctrl.NewManager(fakeConfig, ctrl.Options{ + mgr, err := ctrl.NewManager(&rest.Config{}, ctrl.Options{ Scheme: newScheme(), }) if err != nil {