Skip to content

Commit

Permalink
fixing unit tests
Browse files Browse the repository at this point in the history
Signed-off-by: Jaydip Gabani <[email protected]>
  • Loading branch information
JaydipGabani committed Nov 9, 2024
1 parent c72db95 commit 8c27363
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/controller/constraint/constraint_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
{
Expand Down

0 comments on commit 8c27363

Please sign in to comment.