We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 612e983 commit 605bcd1Copy full SHA for 605bcd1
awc/tests/test_client.rs
@@ -62,10 +62,11 @@ async fn json() {
62
});
63
64
let request = srv
65
- .get("/")
+ .post("/")
66
.insert_header(("x-test", "111"))
67
.send_json(&"TEST".to_string());
68
let response = request.await.unwrap();
69
+ println!("{response:?}");
70
assert!(response.status().is_success());
71
}
72
0 commit comments