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 Aug 8, 2024
1 parent 7bf8f8d commit 7d67ac1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ func TestReconcile(t *testing.T) {
logger.Info("Running test: VapBinding should be created with v1")
constraint.DefaultGenerateVAPB = ptr.To[bool](true)
constraint.GroupVersion = &admissionregistrationv1.SchemeGroupVersion
constraintTemplate := makeReconcileConstraintTemplateForVap(suffix, ptr.To[bool](false))
constraintTemplate := makeReconcileConstraintTemplateForVap(suffix, ptr.To[bool](true))
cstr := newDenyAllCstr(suffix)
t.Cleanup(testutils.DeleteObjectAndConfirm(ctx, t, c, expectedCRD(suffix)))
testutils.CreateThenCleanup(ctx, t, c, constraintTemplate)
Expand Down

0 comments on commit 7d67ac1

Please sign in to comment.