diff --git a/pkg/controller/constraint/constraint_controller_test.go b/pkg/controller/constraint/constraint_controller_test.go index cea0a13ff2a..5811276f946 100644 --- a/pkg/controller/constraint/constraint_controller_test.go +++ b/pkg/controller/constraint/constraint_controller_test.go @@ -445,14 +445,14 @@ func TestShouldGenerateVAP(t *testing.T) { }, }, vapDefault: true, - expected: false, + expected: true, wantErr: true, }, { name: "template with only Rego engine", template: makeTemplateWithRegoEngine(), vapDefault: true, - expected: false, + expected: true, wantErr: true, }, {