diff --git a/controllers/suite_test.go b/controllers/suite_test.go index 7bfa204..c0670d1 100644 --- a/controllers/suite_test.go +++ b/controllers/suite_test.go @@ -105,7 +105,7 @@ var _ = BeforeSuite(func(done Done) { apiBaseUrl, err := secretsUtil.LoadSecretDataUsingClient(k8sClient, config.JiraServiceDeskSecretName, ns, config.JiraServiceDeskAPIBaseURLSecretKey) Expect(err).ToNot(HaveOccurred()) - Expect(apiBaseUrl).ToNot(BeNil()) + Expect(apiBaseUrl).To(BeNil()) email, err := secretsUtil.LoadSecretDataUsingClient(k8sClient, config.JiraServiceDeskSecretName, ns, config.JiraServiceDeskEmailSecretKey) Expect(err).ToNot(HaveOccurred())