Skip to content

Commit 03072fc

Browse files
committed
Check that the right GVK gets populated
1 parent 25743c7 commit 03072fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cache/cache_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ var _ = Describe("Informer Cache", func() {
206206
Expect(listObj.Items).NotTo(BeEmpty())
207207
Expect(listObj.Items).Should(HaveLen(3))
208208
for _, p := range listObj.Items {
209-
Expect(p.GroupVersionKind().Empty()).To(BeFalse())
209+
Expect(p.GroupVersionKind()).To(Equal(kcorev1.SchemeGroupVersion.WithKind("Pod")))
210210
}
211211
})
212212

0 commit comments

Comments
 (0)