mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-12-02 10:05:05 +08:00
13 lines
404 B
Rust
13 lines
404 B
Rust
|
use crate::common::Server;
|
||
|
|
||
|
#[actix_rt::test]
|
||
|
async fn get_settings_unexisting_index() {
|
||
|
let server = Server::new().await;
|
||
|
let (response, code) = server.version().await;
|
||
|
assert_eq!(code, 200);
|
||
|
let version = response.as_object().unwrap();
|
||
|
assert!(version.get("commitSha").is_some());
|
||
|
assert!(version.get("buildDate").is_some());
|
||
|
assert!(version.get("pkgVersion").is_some());
|
||
|
}
|