Skip to content

Commit 2c28876

Browse files
author
Per Goncalves da Silva
committed
Update failing unit test
Signed-off-by: Per Goncalves da Silva <[email protected]>
1 parent b630241 commit 2c28876

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

pkg/lib/controller-runtime/client/ssa_test.go

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,6 @@ func TestServerSideApply(t *testing.T) {
7878
return nil
7979
},
8080
want: &corev1.Pod{
81-
TypeMeta: metav1.TypeMeta{
82-
Kind: "Pod",
83-
APIVersion: "v1",
84-
},
8581
ObjectMeta: metav1.ObjectMeta{
8682
Name: "testpod",
8783
Namespace: "testns",
@@ -106,10 +102,6 @@ func TestServerSideApply(t *testing.T) {
106102
return nil
107103
},
108104
want: &corev1.Pod{
109-
TypeMeta: metav1.TypeMeta{
110-
Kind: "Pod",
111-
APIVersion: "v1",
112-
},
113105
ObjectMeta: metav1.ObjectMeta{
114106
Name: "testpod",
115107
Namespace: "testns",
@@ -137,10 +129,6 @@ func TestServerSideApply(t *testing.T) {
137129
return unstructured.SetNestedField(u.Object, "new", "status", "message")
138130
},
139131
want: &corev1.Pod{
140-
TypeMeta: metav1.TypeMeta{
141-
Kind: "Pod",
142-
APIVersion: "v1",
143-
},
144132
ObjectMeta: metav1.ObjectMeta{
145133
Name: "testpod",
146134
Namespace: "testns",

0 commit comments

Comments
 (0)