mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 08:41:00 +00:00
initial commit
This commit is contained in:
11
tests/health.rs
Normal file
11
tests/health.rs
Normal file
@ -0,0 +1,11 @@
|
||||
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);
|
||||
}
|
Reference in New Issue
Block a user