mirror of
https://github.com/dunglas/frankenphp
synced 2024-10-16 17:14:59 +00:00
test: remove useless test
This commit is contained in:
parent
c5a8052040
commit
83e8556ccf
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user