Skip to content

Commit 5d45a4a

Browse files
committed
operator_controller_test.go: use JustBeforeEach to ensure correct test setup order
1 parent d246832 commit 5d45a4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/controller/operators/operator_controller_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ var _ = Describe("Operator Controller", func() {
4545
})
4646

4747
Describe("operator deletion", func() {
48-
BeforeEach(func() {
48+
JustBeforeEach(func() {
4949
Expect(k8sClient.Delete(ctx, operator)).To(Succeed())
5050
Eventually(func() bool {
5151
err := k8sClient.Get(ctx, name, operator)

0 commit comments

Comments
 (0)