From 83e8556ccf8c4797002bb0a65f864cad18a905d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Wed, 28 Jun 2023 23:07:34 +0200 Subject: [PATCH] test: remove useless test --- caddy/caddy_test.go | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/caddy/caddy_test.go b/caddy/caddy_test.go index 0007c99..7e09e55 100644 --- a/caddy/caddy_test.go +++ b/caddy/caddy_test.go @@ -34,17 +34,3 @@ func TestPHP(t *testing.T) { } wg.Wait() } - -func TestAutoHTTPtoHTTPSRedirectsImplicitPort(t *testing.T) { - tester := caddytest.NewTester(t) - tester.InitServer(` - { - http_port 9080 - https_port 9443 - } - localhost - respond "Yahaha! You found me!" - `, "caddyfile") - - tester.AssertRedirect("http://localhost:9080/", "https://localhost/", http.StatusPermanentRedirect) -}