From b8cea4942780def7b87c0b63a5f42f899cad1110 Mon Sep 17 00:00:00 2001 From: Anders Olsson Date: Tue, 2 Jun 2026 01:02:22 +0200 Subject: [PATCH] test(api): assert readiness status field on happy path --- crates/api/tests/health.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/api/tests/health.rs b/crates/api/tests/health.rs index 7109dc3..da40fe1 100644 --- a/crates/api/tests/health.rs +++ b/crates/api/tests/health.rs @@ -48,6 +48,7 @@ async fn ready_reports_database_true(pool: PgPool) { let bytes = resp.into_body().collect().await.unwrap().to_bytes(); let json: serde_json::Value = serde_json::from_slice(&bytes).unwrap(); assert_eq!(json["database"], true); + assert_eq!(json["status"], "ok"); } #[sqlx::test]