update tests to be specific about the versions they are testing instead of floating
This commit is contained in:
@@ -21,7 +21,6 @@ import (
|
||||
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
genericapirequest "k8s.io/apiserver/pkg/endpoints/request"
|
||||
"k8s.io/kubernetes/pkg/api/legacyscheme"
|
||||
apitesting "k8s.io/kubernetes/pkg/api/testing"
|
||||
api "k8s.io/kubernetes/pkg/apis/core"
|
||||
|
||||
@@ -139,7 +138,7 @@ func TestNamespaceFinalizeStrategy(t *testing.T) {
|
||||
|
||||
func TestSelectableFieldLabelConversions(t *testing.T) {
|
||||
apitesting.TestSelectableFieldLabelConversionsOfKind(t,
|
||||
legacyscheme.Registry.GroupOrDie(api.GroupName).GroupVersions[0].String(),
|
||||
"v1",
|
||||
"Namespace",
|
||||
NamespaceToSelectableFields(&api.Namespace{}),
|
||||
map[string]string{"name": "metadata.name"},
|
||||
|
Reference in New Issue
Block a user