diff --git a/cli/tests/cert_tests.rs b/cli/tests/cert_tests.rs index fd6a500616..c06c1afb97 100644 --- a/cli/tests/cert_tests.rs +++ b/cli/tests/cert_tests.rs @@ -58,9 +58,8 @@ mod cert { itest!(deno_land_unsafe_ssl { args: - "run --quiet --reload --allow-net --cert=tls/RootCA.pem --unsafely-ignore-certificate-errors=localhost cert/deno_land_unsafe_ssl.ts", + "run --quiet --reload --allow-net --unsafely-ignore-certificate-errors=deno.land cert/deno_land_unsafe_ssl.ts", output: "cert/deno_land_unsafe_ssl.ts.out", - http_server: true, }); itest!(ip_address_unsafe_ssl { diff --git a/cli/tests/testdata/cert/deno_land_unsafe_ssl.ts b/cli/tests/testdata/cert/deno_land_unsafe_ssl.ts index a4c6c70e2f..f5e8dcc80b 100644 --- a/cli/tests/testdata/cert/deno_land_unsafe_ssl.ts +++ b/cli/tests/testdata/cert/deno_land_unsafe_ssl.ts @@ -1,2 +1,2 @@ -const r = await fetch("https://localhost:5545/cert/cafile_info.ts"); +const r = await fetch("https://google.com"); console.log(r.status); diff --git a/cli/tests/testdata/cert/deno_land_unsafe_ssl.ts.out b/cli/tests/testdata/cert/deno_land_unsafe_ssl.ts.out index afce5ea015..cbf52b076e 100644 --- a/cli/tests/testdata/cert/deno_land_unsafe_ssl.ts.out +++ b/cli/tests/testdata/cert/deno_land_unsafe_ssl.ts.out @@ -1,2 +1,2 @@ -DANGER: TLS certificate validation is disabled for: localhost +DANGER: TLS certificate validation is disabled for: deno.land 200