From 8324d0f0b3be365fb084bb15f98751b08d766795 Mon Sep 17 00:00:00 2001 From: Paul Abel Date: Wed, 27 Nov 2024 12:15:20 +0000 Subject: [PATCH] remove invalid tests --- internal/k8s/controller_test.go | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/internal/k8s/controller_test.go b/internal/k8s/controller_test.go index 7abf53dada..777a195b41 100644 --- a/internal/k8s/controller_test.go +++ b/internal/k8s/controller_test.go @@ -3523,36 +3523,6 @@ func TestGenerateSecretNSName(t *testing.T) { }, expected: "testns/test-secret", }, - { - name: "invalid #1", - secret: &api_v1.Secret{ - ObjectMeta: meta_v1.ObjectMeta{ - Namespace: "", - Name: "", - }, - }, - expected: "/", - }, - { - name: "invalid #2", - secret: &api_v1.Secret{ - ObjectMeta: meta_v1.ObjectMeta{ - Namespace: "testns", - Name: "", - }, - }, - expected: "testns/", - }, - { - name: "invalid #3", - secret: &api_v1.Secret{ - ObjectMeta: meta_v1.ObjectMeta{ - Namespace: "", - Name: "test-secret", - }, - }, - expected: "/test-secret", - }, } for _, tc := range testCases {