mirror of
https://github.com/LukeMathWalker/zero-to-production.git
synced 2024-12-11 10:36:31 +00:00
Remove actix_rt dependency.
This commit is contained in:
parent
af9bf0115c
commit
28d438b478
3 changed files with 1 additions and 3 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -1664,7 +1664,6 @@ dependencies = [
|
|||
name = "zero2prod"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"actix-rt",
|
||||
"actix-web",
|
||||
"reqwest",
|
||||
"tokio",
|
||||
|
|
|
@ -16,6 +16,5 @@ name = "zero2prod"
|
|||
actix-web = "=4.0.0-beta.15"
|
||||
|
||||
[dev-dependencies]
|
||||
actix-rt = "2"
|
||||
reqwest = "0.11"
|
||||
tokio = "1"
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue