From d0914eb5dcba67073edefd570b8b7a2847792531 Mon Sep 17 00:00:00 2001 From: Kharec Date: Fri, 26 Dec 2025 17:41:04 +0100 Subject: [PATCH] test: update IsHTTPS test to use middleware.IsHTTPS --- internal/handlers/common_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/handlers/common_test.go b/internal/handlers/common_test.go index 08dae91..9d031c4 100644 --- a/internal/handlers/common_test.go +++ b/internal/handlers/common_test.go @@ -188,7 +188,7 @@ func TestIsHTTPS(t *testing.T) { t.Skip("Cannot test TLS with httptest.NewRequest") } - result := IsHTTPS(req) + result := middleware.IsHTTPS(req) if result != tt.expected { t.Errorf("Expected %v, got %v", tt.expected, result) }