summaryrefslogtreecommitdiff
path: root/test_util/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'test_util/src/lib.rs')
-rw-r--r--test_util/src/lib.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/test_util/src/lib.rs b/test_util/src/lib.rs
index da7c8703e..37b1819d8 100644
--- a/test_util/src/lib.rs
+++ b/test_util/src/lib.rs
@@ -272,8 +272,8 @@ async fn get_tls_config(
}
async fn run_wss_server(addr: &SocketAddr) {
- let cert_file = "std/http/testdata/tls/localhost.crt";
- let key_file = "std/http/testdata/tls/localhost.key";
+ let cert_file = "cli/tests/tls/localhost.crt";
+ let key_file = "cli/tests/tls/localhost.key";
let tls_config = get_tls_config(cert_file, key_file).await.unwrap();
let tls_acceptor = TlsAcceptor::from(tls_config);
@@ -691,8 +691,8 @@ async fn wrap_main_server() {
async fn wrap_main_https_server() {
let main_server_https_addr = SocketAddr::from(([127, 0, 0, 1], HTTPS_PORT));
- let cert_file = "std/http/testdata/tls/localhost.crt";
- let key_file = "std/http/testdata/tls/localhost.key";
+ let cert_file = "cli/tests/tls/localhost.crt";
+ let key_file = "cli/tests/tls/localhost.key";
let tls_config = get_tls_config(cert_file, key_file)
.await
.expect("Cannot get TLS config");