Skip to content

Commit

Permalink
test: fix policy group factory
Browse files Browse the repository at this point in the history
Signed-off-by: Fabrizio Sestito <[email protected]>
  • Loading branch information
fabriziosestito committed Sep 9, 2024
1 parent ac8c5ab commit 2825a0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/policies/v1/policy_utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func admissionPolicyGroupFactory() *AdmissionPolicyGroup {
Message: "This is a test policy",
Policies: []PolicyGroupMember{
{
Name: "testing-policy",
Name: "mypolicy",
Module: "ghcr.io/kubewarden/tests/user-group-psp:v0.4.9",
Settings: runtime.RawExtension{},
ContextAwareResources: []ContextAwareResource{},
Expand Down Expand Up @@ -101,7 +101,7 @@ func clusterAdmissionPolicyGroupFactory() *ClusterAdmissionPolicyGroup {
Message: "This is a test policy",
Policies: []PolicyGroupMember{
{
Name: "testing-policy",
Name: "mypolicy",
Module: "ghcr.io/kubewarden/tests/user-group-psp:v0.4.9",
Settings: runtime.RawExtension{},
ContextAwareResources: []ContextAwareResource{},
Expand Down

0 comments on commit 2825a0a

Please sign in to comment.