mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-26 12:05:05 +08:00
12 lines
258 B
Rust
12 lines
258 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, 204);
|
|
}
|