diff --git a/testutil/testconfig.go b/testutil/testconfig.go index 6e63a207b..0491e268e 100644 --- a/testutil/testconfig.go +++ b/testutil/testconfig.go @@ -154,18 +154,6 @@ func DummyAuthInfo() *config.AuthInfo { return a } -// DummyKubeAuthInfo creates a AuthInfo kubeconfig object -// for unit testing -func DummyKubeAuthInfo() *kubeconfig.AuthInfo { - authinfo := kubeconfig.NewAuthInfo() - authinfo.Username = "dummy_username" - authinfo.Password = "dummy_password" - authinfo.ClientCertificate = "dummy_certificate" - authinfo.ClientKey = "dummy_key" - authinfo.Token = "dummy_token" - return authinfo -} - // DummyClusterPurpose creates ClusterPurpose config object for unit testing func DummyClusterPurpose() *config.ClusterPurpose { cp := config.NewClusterPurpose()