Files
Dennis Nemec 780c84098b
Some checks failed
CI / backend (push) Has been cancelled
CI / frontend (push) Has been cancelled
CI / ui (push) Has been cancelled
WP-00: project skeleton with three-level test harness
Cargo workspace (domain, application, infrastructure, api), axum health endpoint
with SPA fallback, Vue 3 + Tailwind frontend, Vitest, Playwright, Makefile,
Gitea Actions CI and README.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-02 21:28:21 +02:00

13 lines
365 B
Rust

//! WP-00 sample integration test: the health endpoint answers 200 with `{"status":"ok"}`.
mod common;
use axum::http::StatusCode;
#[tokio::test]
async fn healthz_returns_ok() {
let app = common::test_app().await;
let res = common::get(&app, "/healthz", None).await;
assert_eq!(res.status, StatusCode::OK);
assert_eq!(res.json["status"], "ok");
}