diff --git a/internal/controller/suite_test.go b/internal/controller/suite_test.go index 9b5cf0f..393f114 100644 --- a/internal/controller/suite_test.go +++ b/internal/controller/suite_test.go @@ -20,7 +20,6 @@ import ( "context" "fmt" "net/http/httptest" - "os" "path/filepath" "runtime" "testing" @@ -95,7 +94,6 @@ var _ = BeforeSuite(func() { Expect(k8sClient).NotTo(BeNil()) srv = uptimerobottest.NewServer() - Expect(os.Setenv("UPTIME_ROBOT_API", srv.URL)).To(Succeed()) Expect(k8sClient.Create(context.Background(), &corev1.Namespace{ ObjectMeta: metav1.ObjectMeta{Name: ClusterResourceNamespace},