diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2020-10-02 14:23:40 -0600 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2020-10-02 14:23:56 -0600 |
commit | 25d2b4bf2927bf69ddce582d33339ef7d13cb6bf (patch) | |
tree | 7741803a180bb85eefdb6861c1fd69e2b10b6a85 /caddytest/integration/sni_test.go | |
parent | 023d702f30d0b7ccc039f2c96ca369def3acb41b (diff) |
map: Reimplement; multiple outputs; optimize
Diffstat (limited to 'caddytest/integration/sni_test.go')
-rw-r--r-- | caddytest/integration/sni_test.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/caddytest/integration/sni_test.go b/caddytest/integration/sni_test.go index 46f7c83..813e9a0 100644 --- a/caddytest/integration/sni_test.go +++ b/caddytest/integration/sni_test.go @@ -99,7 +99,7 @@ func TestDefaultSNI(t *testing.T) { // act and assert // makes a request with no sni - tester.AssertGetResponse("https://127.0.0.1:9443/version", 200, "hello from a") + tester.AssertGetResponse("https://127.0.0.1:9443/version", 200, "hello from a.caddy.localhost") } func TestDefaultSNIWithNamedHostAndExplicitIP(t *testing.T) { @@ -204,7 +204,6 @@ func TestDefaultSNIWithNamedHostAndExplicitIP(t *testing.T) { } func TestDefaultSNIWithPortMappingOnly(t *testing.T) { - // arrange tester := caddytest.NewTester(t) tester.InitServer(` @@ -273,7 +272,7 @@ func TestDefaultSNIWithPortMappingOnly(t *testing.T) { // act and assert // makes a request with no sni - tester.AssertGetResponse("https://127.0.0.1:9443/version", 200, "hello from a") + tester.AssertGetResponse("https://127.0.0.1:9443/version", 200, "hello from a.caddy.localhost") } func TestHttpOnlyOnDomainWithSNI(t *testing.T) { |