fix(health): move test to dedicated test mod
This commit is contained in:
@@ -28,6 +28,8 @@ impl HealthApi {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(test)]
|
||||||
|
mod tests {
|
||||||
#[tokio::test]
|
#[tokio::test]
|
||||||
async fn health_check_works() {
|
async fn health_check_works() {
|
||||||
let app = crate::get_test_app();
|
let app = crate::get_test_app();
|
||||||
@@ -36,3 +38,4 @@ async fn health_check_works() {
|
|||||||
resp.assert_status_is_ok();
|
resp.assert_status_is_ok();
|
||||||
resp.assert_text("").await;
|
resp.assert_text("").await;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user