mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-30 00:34:26 +01:00
chore: test comment readability improvements
Signed-off-by: Ryan Russell <git@ryanrussell.org>
This commit is contained in:
parent
9b660e1058
commit
a626cf4c99
@ -625,7 +625,7 @@ async fn add_documents_no_index_creation() {
|
|||||||
OffsetDateTime::parse(response["enqueuedAt"].as_str().unwrap(), &Rfc3339).unwrap();
|
OffsetDateTime::parse(response["enqueuedAt"].as_str().unwrap(), &Rfc3339).unwrap();
|
||||||
assert!(processed_at > enqueued_at);
|
assert!(processed_at > enqueued_at);
|
||||||
|
|
||||||
// index was created, and primary key was infered.
|
// index was created, and primary key was inferred.
|
||||||
let (response, code) = index.get().await;
|
let (response, code) = index.get().await;
|
||||||
assert_eq!(code, 200);
|
assert_eq!(code, 200);
|
||||||
assert_eq!(response["primaryKey"], "id");
|
assert_eq!(response["primaryKey"], "id");
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// This modules contains all the test concerning search. Each particular feture of the search
|
// This modules contains all the test concerning search. Each particular feature of the search
|
||||||
// should be tested in its own module to isolate tests and keep the tests readable.
|
// should be tested in its own module to isolate tests and keep the tests readable.
|
||||||
|
|
||||||
mod errors;
|
mod errors;
|
||||||
|
@ -39,7 +39,7 @@ async fn get_task_status() {
|
|||||||
index.wait_task(0).await;
|
index.wait_task(0).await;
|
||||||
let (_response, code) = index.get_task(1).await;
|
let (_response, code) = index.get_task(1).await;
|
||||||
assert_eq!(code, 200);
|
assert_eq!(code, 200);
|
||||||
// TODO check resonse format, as per #48
|
// TODO check response format, as per #48
|
||||||
}
|
}
|
||||||
|
|
||||||
#[actix_rt::test]
|
#[actix_rt::test]
|
||||||
|
Loading…
Reference in New Issue
Block a user