Fix selflinks in tests

This commit is contained in:
wojtekt
2019-08-01 15:46:46 +02:00
parent a23fc83fcd
commit bc00248e71
3 changed files with 5 additions and 5 deletions

View File

@@ -42,7 +42,7 @@ func TestEventCompatibility(t *testing.T) {
testPod := &v1.Pod{
ObjectMeta: metav1.ObjectMeta{
SelfLink: "/api/version/pods/foo",
SelfLink: "/api/v1/namespaces/default/pods/foo",
Name: "foo",
Namespace: "default",
UID: "bar",