fix(health): move test to dedicated test mod

This commit is contained in:
2026-06-02 01:05:31 +02:00
parent b29a095a38
commit 5b6dd0c4f7
+3
View File
@@ -28,6 +28,8 @@ impl HealthApi {
}
}
#[cfg(test)]
mod tests {
#[tokio::test]
async fn health_check_works() {
let app = crate::get_test_app();
@@ -36,3 +38,4 @@ async fn health_check_works() {
resp.assert_status_is_ok();
resp.assert_text("").await;
}
}