1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-06-26 10:27:42 +02:00

update actix-web dependency to 4.0

This commit is contained in:
Rob Ede
2022-02-25 23:05:11 +00:00
parent d46ee464e0
commit 73a5ae98b6
10 changed files with 17 additions and 16 deletions

View File

@ -578,7 +578,7 @@ mod test {
dev::{fn_service, Transform},
http::{header::HeaderName, StatusCode},
test::{self, TestRequest},
web::HttpResponse,
HttpResponse,
};
use super::*;

View File

@ -360,7 +360,7 @@ mod test {
})
.allow_any_method()
.allow_any_header()
.new_transform(test::simple_service(StatusCode::NO_CONTENT))
.new_transform(test::status_service(StatusCode::NO_CONTENT))
.await
.unwrap();