fix(tests): resolve unit test compilation issue for update document details page

This commit is contained in:
perf3ct 2025-07-11 05:00:41 +00:00
parent 8c90c5c3c3
commit e896fc7343
1 changed files with 12 additions and 0 deletions

View File

@ -30,6 +30,12 @@ fn test_document_response_conversion_with_ocr() {
original_created_at: None, original_created_at: None,
original_modified_at: None, original_modified_at: None,
source_metadata: None, source_metadata: None,
source_path: None,
source_type: None,
source_id: None,
file_permissions: None,
file_owner: None,
file_group: None,
}; };
let response: DocumentResponse = document.clone().into(); let response: DocumentResponse = document.clone().into();
@ -69,6 +75,12 @@ fn test_document_response_conversion_without_ocr() {
original_created_at: None, original_created_at: None,
original_modified_at: None, original_modified_at: None,
source_metadata: None, source_metadata: None,
source_path: None,
source_type: None,
source_id: None,
file_permissions: None,
file_owner: None,
file_group: None,
}; };
let response: DocumentResponse = document.clone().into(); let response: DocumentResponse = document.clone().into();