Skip to content

Commit

Permalink
test: update policy groups unique names
Browse files Browse the repository at this point in the history
Signed-off-by: Fabrizio Sestito <[email protected]>
  • Loading branch information
fabriziosestito committed Sep 19, 2024
1 parent befb332 commit 6c05821
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/policies/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ func TestGetPoliciesByNamespace(t *testing.T) {
},
{
Policy: admissionPolicyGroup1,
PolicyServer: &url.URL{Scheme: "https", Host: "policy-server-default.kubewarden.svc:443", Path: "/audit/namespacedpolicygroup-test-admissionPolicyGroup1"},
PolicyServer: &url.URL{Scheme: "https", Host: "policy-server-default.kubewarden.svc:443", Path: "/audit/namespaced-group-test-admissionPolicyGroup1"},
},
},
{
Expand All @@ -294,7 +294,7 @@ func TestGetPoliciesByNamespace(t *testing.T) {
},
{
Policy: clusterAdmissionPolicyGroup1,
PolicyServer: &url.URL{Scheme: "https", Host: "policy-server-default.kubewarden.svc:443", Path: "/audit/clusterwide-clusterAdmissionPolicyGroup1"},
PolicyServer: &url.URL{Scheme: "https", Host: "policy-server-default.kubewarden.svc:443", Path: "/audit/clusterwide-group-clusterAdmissionPolicyGroup1"},
},
{
Policy: admissionPolicy1,
Expand Down Expand Up @@ -494,7 +494,7 @@ func TestGetClusterWidePolicies(t *testing.T) {
},
{
Policy: clusterAdmissionPolicyGroup1,
PolicyServer: &url.URL{Scheme: "https", Host: "policy-server-default.kubewarden.svc:443", Path: "/audit/clusterwide-clusterAdmissionPolicyGroup1"},
PolicyServer: &url.URL{Scheme: "https", Host: "policy-server-default.kubewarden.svc:443", Path: "/audit/clusterwide-group-clusterAdmissionPolicyGroup1"},
},
},
},
Expand Down

0 comments on commit 6c05821

Please sign in to comment.