From 8c273630d77931c43a5d19bcde92f9437e56bef3 Mon Sep 17 00:00:00 2001 From: Jaydip Gabani Date: Sat, 9 Nov 2024 00:45:26 +0000 Subject: [PATCH] fixing unit tests Signed-off-by: Jaydip Gabani --- pkg/controller/constraint/constraint_controller_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, }, {