Moritz Johner 5 лет назад
Родитель
Сommit
907ad467b0
1 измененных файлов с 2 добавлено и 5 удалено
  1. 2 5
      pkg/controllers/externalsecret/externalsecret_controller_test.go

+ 2 - 5
pkg/controllers/externalsecret/externalsecret_controller_test.go

@@ -159,7 +159,7 @@ var _ = Describe("ExternalSecret controller", func() {
 		})
 	})
 
-	FIt("should not process stores with mismatching controller field", func() {
+	It("should not process stores with mismatching controller field", func() {
 		By("creating an ExternalSecret")
 		ctx := context.Background()
 		storeName := "example-ts-foo"
@@ -221,10 +221,7 @@ var _ = Describe("ExternalSecret controller", func() {
 				return false
 			}
 			cond := GetExternalSecretCondition(createdES.Status, esv1alpha1.ExternalSecretReady)
-			if cond == nil {
-				return true
-			}
-			return false
+			return cond == nil
 		}, timeout, interval).Should(BeTrue())
 	})