1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00

fixes for cache tests

Signed-off-by: RinkiyaKeDad <arshsharma461@gmail.com>
This commit is contained in:
RinkiyaKeDad 2021-07-29 10:44:31 +05:30
parent 5dd8bc3b30
commit b6f090f763

View file

@ -145,7 +145,7 @@ func Test_Add_Remove(t *testing.T) {
}
generate := pCache.get(Generate, kind, "")
if len(mutate) != 1 {
if len(generate) != 1 {
t.Errorf("expected 1 generate policy, found %v", len(generate))
}
@ -173,7 +173,7 @@ func Test_Add_Remove_Any(t *testing.T) {
}
generate := pCache.get(Generate, kind, "")
if len(mutate) != 1 {
if len(generate) != 1 {
t.Errorf("expected 1 generate policy, found %v", len(generate))
}