test: remove useless test

This commit is contained in:
Kévin Dunglas 2023-06-28 23:07:34 +02:00
parent c5a8052040
commit 83e8556ccf

View File

@ -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)
}