mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-01-18 08:48:32 +08:00
add test
This commit is contained in:
parent
92ce0f5c2b
commit
92897e7ad0
12
meilisearch-http/tests/dashboard.rs
Normal file
12
meilisearch-http/tests/dashboard.rs
Normal file
@ -0,0 +1,12 @@
|
||||
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);
|
||||
}
|
Loading…
Reference in New Issue
Block a user