Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
teselil committed Jul 11, 2023
1 parent d408dbb commit 3aab812
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controllers/validationController_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ func TestValidateRequestBodyWithNotAllowedK8sResourceBypassed(t *testing.T) {

func TestValidateRequestBodyWithNotAllowedK8sResourceEnforceModeOff(t *testing.T) {
setMockEnv(t)
t.Setenv(enums.EnabledWarnings, "[failedPolicyCheck]")
t.Setenv(enums.EnabledWarnings, "failedPolicyCheck")
t.Setenv(enums.Enforce, "false")
var applyRequestNotAllowed admission.AdmissionReview

Expand Down

0 comments on commit 3aab812

Please sign in to comment.