Skip to content

Commit

Permalink
remove invalid tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pdabelf5 committed Nov 27, 2024
1 parent c61a116 commit 8324d0f
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions internal/k8s/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 8324d0f

Please sign in to comment.