accept any content type as json

This commit is contained in:
Tamo 2021-06-30 17:05:59 +02:00
parent d61852a73f
commit 2830853665
No known key found for this signature in database
GPG key ID: 20CD8020AFA88D69
2 changed files with 6 additions and 1 deletions

View file

@ -57,6 +57,7 @@ async fn add_documents_test_no_content_types() {
/// any other content-type is must be refused
#[actix_rt::test]
#[ignore]
async fn add_documents_test_bad_content_types() {
let document = json!([
{