1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-25 14:49:20 +02:00

update tests

This commit is contained in:
Nikolay Kim
2019-02-18 18:46:30 -08:00
parent 037c3da172
commit d180b2a1e3
4 changed files with 29 additions and 28 deletions

View File

@ -53,7 +53,7 @@ pub struct TestServerRuntime<T> {
impl TestServer {
/// Start new test server with application factory
pub fn with_factory<F: StreamServiceFactory>(
pub fn new<F: StreamServiceFactory>(
factory: F,
) -> TestServerRuntime<
impl Service<Request = Connect, Response = impl Connection, Error = ConnectorError>