mirror of
https://github.com/kubernetes/client-go.git
synced 2025-09-01 23:31:51 +00:00
Remove selflink references in different testing-related files
Kubernetes-commit: 551790729f1d26d75c1d3fa1411e341eb367f9f3
This commit is contained in:
committed by
Kubernetes Publisher
parent
092b54e6e5
commit
a806c6e4fd
@@ -43,7 +43,7 @@ func TestGetReferenceRefVersion(t *testing.T) {
|
||||
{
|
||||
name: "v1 GV from scheme",
|
||||
input: &TestRuntimeObj{
|
||||
ObjectMeta: metav1.ObjectMeta{SelfLink: "/bad-selflink/unused"},
|
||||
ObjectMeta: metav1.ObjectMeta{},
|
||||
},
|
||||
groupVersion: schema.GroupVersion{Group: "", Version: "v1"},
|
||||
expectedRefVersion: "v1",
|
||||
@@ -51,7 +51,7 @@ func TestGetReferenceRefVersion(t *testing.T) {
|
||||
{
|
||||
name: "foo.group/v3 GV from scheme",
|
||||
input: &TestRuntimeObj{
|
||||
ObjectMeta: metav1.ObjectMeta{SelfLink: "/bad-selflink/unused"},
|
||||
ObjectMeta: metav1.ObjectMeta{},
|
||||
},
|
||||
groupVersion: schema.GroupVersion{Group: "foo.group", Version: "v3"},
|
||||
expectedRefVersion: "foo.group/v3",
|
||||
|
Reference in New Issue
Block a user