Skip to content

Commit 605bcd1

Browse files
committed
chore(awc): json test should use proper method
1 parent 612e983 commit 605bcd1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

awc/tests/test_client.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,11 @@ async fn json() {
6262
});
6363

6464
let request = srv
65-
.get("/")
65+
.post("/")
6666
.insert_header(("x-test", "111"))
6767
.send_json(&"TEST".to_string());
6868
let response = request.await.unwrap();
69+
println!("{response:?}");
6970
assert!(response.status().is_success());
7071
}
7172

0 commit comments

Comments
 (0)