From 8a6394e80be89d10bf4bc9207e785d8a90f6f374 Mon Sep 17 00:00:00 2001 From: Gabe Cook Date: Wed, 17 Apr 2024 01:28:25 -0500 Subject: [PATCH] test: Remove unnecessary env --- internal/controller/suite_test.go | 2 -- 1 file changed, 2 deletions(-) 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},