mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 11:24:45 +08:00
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
12 lines
245 B
Rust
12 lines
245 B
Rust
mod utils;
|
|
|
|
use utils::{mk_service, AppClient};
|
|
|
|
#[actix_web::test]
|
|
async fn health_check() {
|
|
let server = Box::pin(mk_service()).await;
|
|
let client = AppClient::guest();
|
|
|
|
assert_eq!(client.health(&server).await, "health is good");
|
|
}
|