[ci] Add all target to check

This commit is contained in:
Jean SIMARD 2020-11-30 17:41:01 +01:00
parent a77d517ac1
commit d1f34f926e
No known key found for this signature in database
GPG key ID: 98BD56777D7767B4
6 changed files with 10 additions and 6 deletions

View file

@ -101,7 +101,7 @@ where
} else {
let error = ResponseError::from(Error::InvalidToken(auth_header.to_string())).error_response();
let (request, _) = req.into_parts();
return Box::pin(ok(ServiceResponse::new(request, error)))
Box::pin(ok(ServiceResponse::new(request, error)))
}
}
}

View file

@ -175,7 +175,7 @@ async fn update_multiple_documents(
.ok_or(meilisearch_core::Error::SchemaMissing)?;
match (params.into_inner().primary_key, schema.primary_key()) {
(Some(_), Some(_)) => return Err(meilisearch_schema::Error::PrimaryKeyAlreadyPresent)?,
(Some(_), Some(_)) => return Err(meilisearch_schema::Error::PrimaryKeyAlreadyPresent.into()),
(Some(key), None) => document_addition.set_primary_key(key),
(None, None) => {
let key = body

View file

@ -16,7 +16,7 @@ async fn trigger_and_wait_dump(server: &mut common::Server) -> String {
let dump_uid = value["uid"].as_str().unwrap().to_string();
for _ in 0..20 as u8 {
for _ in 0..20_u8 {
let (value, status_code) = server.get_dump_status(&dump_uid).await;
assert_eq!(status_code, 200);