Change test names to match better with variable names and log messages of crd.go

This commit is contained in:
Joel Studler 2024-01-27 13:20:12 +01:00
parent 2fdc7354c0
commit 0c43e808bb

View File

@ -426,7 +426,7 @@ func testCRDSourceEndpoints(t *testing.T) {
expectError: false,
},
{
title: "invalid endpoint CNAME",
title: "illegal target CNAME",
registeredAPIVersion: "test.k8s.io/v1alpha1",
apiVersion: "test.k8s.io/v1alpha1",
registeredKind: "DNSEndpoint",
@ -447,7 +447,7 @@ func testCRDSourceEndpoints(t *testing.T) {
expectError: false,
},
{
title: "invalid endpoint NAPTR",
title: "illegal target NAPTR",
registeredAPIVersion: "test.k8s.io/v1alpha1",
apiVersion: "test.k8s.io/v1alpha1",
registeredKind: "DNSEndpoint",