Skip to content

Commit 3299213

Browse files
committed
bak it
1 parent f1ba899 commit 3299213

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/tests/http_test.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ async fn alias_start_server_and_client_upload_file() {
337337

338338
#[tokio::test]
339339
async fn cors() {
340-
//clean_web_domain_dir(LOCAL_HOST);
340+
clean_web_domain_dir(LOCAL_HOST);
341341
run_server_with_config("server_config_cors.toml");
342342

343343
let domain = LOCAL_HOST.to_owned() + "/27";
@@ -346,7 +346,7 @@ async fn cors() {
346346
let request_prefix = &request_prefix;
347347

348348
tokio::time::sleep(Duration::from_secs(1)).await;
349-
//upload_file_and_check(domain, request_prefix, 1, vec!["index.html"]).await;
349+
upload_file_and_check(domain, request_prefix, 1, vec!["index.html"]).await;
350350

351351
let client = get_http_client();
352352
let request = client.request(Method::OPTIONS, request_prefix)

0 commit comments

Comments
 (0)