From 1a09272b57445ba15b60e6394bed4e7f9cef89d3 Mon Sep 17 00:00:00 2001 From: Alexander Baranov Date: Sun, 17 May 2026 18:21:17 +0300 Subject: [PATCH] =?UTF-8?q?smart-house-web:=20=D0=B2=20=D1=80=D0=B0=D0=B1?= =?UTF-8?q?=D0=BE=D1=82=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- smart-house-web/backend/Cargo.toml | 3 +++ smart-house-web/backend/tests/api_tests.rs | 4 ++++ 2 files changed, 7 insertions(+) create mode 100644 smart-house-web/backend/tests/api_tests.rs diff --git a/smart-house-web/backend/Cargo.toml b/smart-house-web/backend/Cargo.toml index d64875f..8eedad5 100644 --- a/smart-house-web/backend/Cargo.toml +++ b/smart-house-web/backend/Cargo.toml @@ -10,3 +10,6 @@ tokio = { version = "1.52", features = ["rt", "rt-multi-thread", "signal", "time axum = "0.8" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" + +[dev-dependencies] +hyper = "1.9.0" diff --git a/smart-house-web/backend/tests/api_tests.rs b/smart-house-web/backend/tests/api_tests.rs new file mode 100644 index 0000000..97bcadc --- /dev/null +++ b/smart-house-web/backend/tests/api_tests.rs @@ -0,0 +1,4 @@ +#[tokio::test(flavor = "current_thread")] +async fn smoke() { + println!("Hello test!") +}