fix tests

This commit is contained in:
Nikolay Kim 2020-04-12 01:48:52 +06:00
parent 6abb5a40df
commit 3f7ae1ccb6

View file

@ -774,7 +774,7 @@ mod tests {
f: F, f: F,
) -> impl ntex::service::Service< ) -> impl ntex::service::Service<
Request = ntex::http::Request, Request = ntex::http::Request,
Response = WebResponse<ntex::http::body::Body>, Response = WebResponse,
Error = Error, Error = Error,
> { > {
test::init_service( test::init_service(
@ -1119,11 +1119,11 @@ mod tests {
ok(Some("test".to_string())) ok(Some("test".to_string()))
} }
fn to_response<B>( fn to_response(
&self, &self,
_: Option<String>, _: Option<String>,
_: bool, _: bool,
_: &mut WebResponse<B>, _: &mut WebResponse,
) -> Self::ResponseFuture { ) -> Self::ResponseFuture {
ok(()) ok(())
} }