mirror of
https://github.com/fafhrd91/actix-web
synced 2025-06-25 14:49:20 +02:00
use new new service api
This commit is contained in:
@ -514,7 +514,6 @@ fn test_body_chunked_implicit() {
|
||||
let body = once::<_, Error>(Ok(Bytes::from_static(STR.as_ref())));
|
||||
ok::<_, ()>(Response::Ok().streaming(body))
|
||||
})
|
||||
.map(|_| ())
|
||||
});
|
||||
|
||||
let req = srv.get().finish().unwrap();
|
||||
@ -537,7 +536,6 @@ fn test_response_http_error_handling() {
|
||||
.body(STR),
|
||||
)
|
||||
})
|
||||
.map(|_| ())
|
||||
});
|
||||
|
||||
let req = srv.get().finish().unwrap();
|
||||
|
Reference in New Issue
Block a user