mirror of
https://github.com/actix/actix-web.git
synced 2025-01-29 18:38:13 +00:00
make into_string, to_string
This commit is contained in:
parent
ffca416463
commit
94283a73c2
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ fn test_form_extractor() {
|
|||
let request = srv
|
||||
.post()
|
||||
.uri(srv.url("/test1/index.html"))
|
||||
.form(FormData{username: "test".into_string()})
|
||||
.form(FormData{username: "test".to_string()})
|
||||
.unwrap();
|
||||
let response = srv.execute(request.send()).unwrap();
|
||||
assert!(response.status().is_success());
|
||||
|
|
Loading…
Reference in a new issue