Skip to content

Commit 1ef5ae5

Browse files
committed
fix test
Signed-off-by: Daniil Antoshin <daniil.antoshin@flant.com>
1 parent 6910590 commit 1ef5ae5

File tree

1 file changed

+6
-6
lines changed
  • images/virtualization-artifact/pkg/controller/vmsop/snapshot/internal/handler

1 file changed

+6
-6
lines changed

images/virtualization-artifact/pkg/controller/vmsop/snapshot/internal/handler/deletion_test.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,14 @@ var _ = Describe("DeletionHandler", func() {
7878
Expect(err).NotTo(HaveOccurred())
7979

8080
if protect {
81-
Expect(controllerutil.ContainsFinalizer(newVMSOP, v1alpha2.FinalizerVMOPCleanup)).To(BeTrue())
81+
Expect(controllerutil.ContainsFinalizer(newVMSOP, v1alpha2.FinalizerVMSOPCleanup)).To(BeTrue())
8282
} else {
83-
Expect(controllerutil.ContainsFinalizer(newVMSOP, v1alpha2.FinalizerVMOPCleanup)).To(BeFalse())
83+
Expect(controllerutil.ContainsFinalizer(newVMSOP, v1alpha2.FinalizerVMSOPCleanup)).To(BeFalse())
8484
}
8585
},
86-
Entry("VMSOP pending", v1alpha2.VMOPPhasePending, false),
87-
Entry("VMSOP in progress", v1alpha2.VMOPPhaseInProgress, true),
88-
Entry("VMSOP completed", v1alpha2.VMOPPhaseCompleted, false),
89-
Entry("VMSOP failed", v1alpha2.VMOPPhaseFailed, false),
86+
Entry("VMSOP pending", v1alpha2.VMSOPPhasePending, false),
87+
Entry("VMSOP in progress", v1alpha2.VMSOPPhaseInProgress, true),
88+
Entry("VMSOP completed", v1alpha2.VMSOPPhaseCompleted, false),
89+
Entry("VMSOP failed", v1alpha2.VMSOPPhaseFailed, false),
9090
)
9191
})

0 commit comments

Comments
 (0)