mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-23 13:24:27 +01:00
13 lines
306 B
Rust
13 lines
306 B
Rust
mod common;
|
|
|
|
#[actix_rt::test]
|
|
async fn test_healthyness() {
|
|
let mut server = common::Server::with_uid("movies");
|
|
|
|
// Check that the server is healthy
|
|
|
|
let (response, status_code) = server.get_health().await;
|
|
assert_eq!(status_code, 200);
|
|
assert_eq!(response["status"], "available");
|
|
}
|