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:
@ -578,7 +578,7 @@ mod test {
|
||||
dev::{fn_service, Transform},
|
||||
http::{header::HeaderName, StatusCode},
|
||||
test::{self, TestRequest},
|
||||
web::HttpResponse,
|
||||
HttpResponse,
|
||||
};
|
||||
|
||||
use super::*;
|
||||
|
@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user