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:
parent
5dd8bc3b30
commit
b6f090f763
1 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue