From 718435689816ac966880365930d196351bb9c810 Mon Sep 17 00:00:00 2001
From: Johan de Klerk <johan@shiplogic.com>
Date: Thu, 12 Oct 2023 14:02:26 +0200
Subject: [PATCH] Updated ngrok url

---
 test_utils/test_utils.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test_utils/test_utils.go b/test_utils/test_utils.go
index 3fe0a02..728577b 100644
--- a/test_utils/test_utils.go
+++ b/test_utils/test_utils.go
@@ -40,7 +40,7 @@ func StartTestHandler(context context.Context, apiHandler lambda.Handler, sqsHan
 		go func() {
 			// Serve ngrok tunnel
 			tun, _ := ngrok.Listen(context, config.HTTPEndpoint(), ngrok.WithAuthtoken(os.Getenv("NGROK_AUTHTOKEN")))
-			os.Setenv("OVERWRITTEN_CORE_API_URL", tun.URL())
+			os.Setenv("NGROK_URL", tun.URL())
 			fmt.Println(fmt.Sprintf("Ngrok tunnel created: %s", tun.URL()))
 			_ = http.Serve(tun, nil)
 		}()
-- 
GitLab