Remove actix_rt dependency.

This commit is contained in:
Luca Palmieri 2021-12-26 15:37:37 +01:00
parent af9bf0115c
commit 28d438b478
3 changed files with 1 additions and 3 deletions

1
Cargo.lock generated
View file

@ -1664,7 +1664,6 @@ dependencies = [
name = "zero2prod"
version = "0.1.0"
dependencies = [
"actix-rt",
"actix-web",
"reqwest",
"tokio",

View file

@ -16,6 +16,5 @@ name = "zero2prod"
actix-web = "=4.0.0-beta.15"
[dev-dependencies]
actix-rt = "2"
reqwest = "0.11"
tokio = "1"

View file

@ -11,7 +11,7 @@ fn spawn_app() -> String {
format!("http://127.0.0.1:{}", port)
}
#[actix_rt::test]
#[actix_web::test]
async fn health_check_works() {
// Arrange
let address = spawn_app();