mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-25 22:34:28 +01:00
Update meilisearch-http/tests/documents/add_documents.rs
Co-authored-by: Clément Renault <renault.cle@gmail.com>
This commit is contained in:
parent
b28aa8e666
commit
403f03cb2c
@ -312,16 +312,7 @@ async fn error_add_malformed_json_documents() {
|
||||
// truncate
|
||||
|
||||
// length = 100
|
||||
let long = String::from_utf8(
|
||||
"0123456789"
|
||||
.as_bytes()
|
||||
.iter()
|
||||
.cycle()
|
||||
.cloned()
|
||||
.take(100)
|
||||
.collect_vec(),
|
||||
)
|
||||
.unwrap();
|
||||
let long = "0123456789".repeat(10);
|
||||
|
||||
let document = format!("\"{}\"", long);
|
||||
let req = test::TestRequest::put()
|
||||
|
Loading…
Reference in New Issue
Block a user