mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-23 13:24:27 +01:00
13 lines
328 B
Rust
13 lines
328 B
Rust
|
mod common;
|
||
|
|
||
|
#[actix_rt::test]
|
||
|
async fn dashboard() {
|
||
|
let mut server = common::Server::with_uid("movies");
|
||
|
|
||
|
let (_response, status_code) = server.get_request("/").await;
|
||
|
assert_eq!(status_code, 200);
|
||
|
|
||
|
let (_response, status_code) = server.get_request("/bulma.min.css").await;
|
||
|
assert_eq!(status_code, 200);
|
||
|
}
|