1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-28 01:32:57 +01:00

make into_string, to_string

This commit is contained in:
Dursun Akkurt 2018-06-12 22:31:33 +03:00
parent ffca416463
commit 94283a73c2

View File

@ -115,7 +115,7 @@ fn test_form_extractor() {
let request = srv let request = srv
.post() .post()
.uri(srv.url("/test1/index.html")) .uri(srv.url("/test1/index.html"))
.form(FormData{username: "test".into_string()}) .form(FormData{username: "test".to_string()})
.unwrap(); .unwrap();
let response = srv.execute(request.send()).unwrap(); let response = srv.execute(request.send()).unwrap();
assert!(response.status().is_success()); assert!(response.status().is_success());