Skip to content

Commit

Permalink
[tests] Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ppodolsky committed Apr 20, 2024
1 parent 3eb276d commit b15fc77
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/proto_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ async fn main() -> Result<(), tonic::Status> {
"#,
}))
.unwrap(),
skip_updated_at_modification: false,
})
.await?;
index_api_client
Expand All @@ -77,6 +78,7 @@ async fn main() -> Result<(), tonic::Status> {
to September 29, 2013, consisting of five seasons for a total of 62 episodes."#,
}))
.unwrap(),
skip_updated_at_modification: false,
})
.await?;

Expand Down
3 changes: 3 additions & 0 deletions summa-server/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,12 +196,14 @@ mod tests {
.index_document(proto::IndexDocumentRequest {
index_name: "test_index".to_string(),
document: json!({"title": "title1", "body": "body1"}).to_string().as_bytes().to_vec(),
skip_updated_at_modification: false,
})
.await?;
index_api_client
.index_document(proto::IndexDocumentRequest {
index_name: "test_index".to_string(),
document: json!({"title": "title2", "body": "body2"}).to_string().as_bytes().to_vec(),
skip_updated_at_modification: false,
})
.await?;
index_api_client
Expand All @@ -214,6 +216,7 @@ mod tests {
.index_document(proto::IndexDocumentRequest {
index_name: "test_index".to_string(),
document: json!({"title": "title3", "body": "body3"}).to_string().as_bytes().to_vec(),
skip_updated_at_modification: false,
})
.await?;
index_api_client
Expand Down

0 comments on commit b15fc77

Please sign in to comment.