update relevant changes from master

This commit is contained in:
mpostma 2021-03-10 14:43:10 +01:00
parent 5ecf514d28
commit 0cd8869349
No known key found for this signature in database
GPG key ID: CBC8A7C1D7A28C3A
16 changed files with 276 additions and 26 deletions

View file

@ -47,12 +47,10 @@ async fn create_existing_index() {
assert_eq!(code, 400);
}
// test fails (issue #46)
#[actix_rt::test]
#[ignore]
async fn create_with_invalid_index_uid() {
let server = Server::new().await;
let index = server.index("test test");
let index = server.index("test test#!");
let (_, code) = index.create(None).await;
assert_eq!(code, 400);
}