remove separate ui service, serve ui with backend
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 9s

This commit is contained in:
2025-07-18 01:54:26 +01:00
parent f9047644fe
commit 77ea0144cf
70 changed files with 153 additions and 11214 deletions

21
tests/healthcheck_test.rs Normal file
View File

@ -0,0 +1,21 @@
use reqwest::StatusCode;
#[tokio::test]
async fn test_healthcheck() -> reqwest::Result<()> {
let response = reqwest::get("http://localhost:7000/healthcheck").await?;
assert_eq!(response.status(), StatusCode::OK);
assert_eq!(response.text().await?, r#"{"healthy":true}"#);
Ok(())
}
#[tokio::test]
async fn test_healthcheck2() -> reqwest::Result<()> {
let response = reqwest::get("http://localhost:7000/healthcheck").await?;
assert_eq!(response.status(), StatusCode::OK);
assert_eq!(response.text().await?, r#"{"healthy":true}"#);
Ok(())
}