fix(test): update 11 failing tests to match refactored status tracking and API changes

- Update test_bulk_operations.py: Use FileProcessingStep instead of ProcessingLog for status filter tests
- Update test_file_listing.py: Use FileProcessingStep for processing status determination tests
- Update test_file_detail_endpoints.py: Replace hash_file with check_text in step summary test
- Update test_path_traversal_security.py: Import get_unique_filepath_with_counter from correct module
- Update test_process_document.py: Match current duplicate handling behavior (creates new record)

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-12 02:54:46 +00:00
parent 21ae70f8d5
commit ad39ee7afa
5 changed files with 55 additions and 54 deletions
+1 -1
View File
@@ -514,7 +514,7 @@ class TestStepSummary:
now = datetime.now()
logs = [
MockLog("hash_file", "success", now - timedelta(minutes=5)),
MockLog("check_text", "success", now - timedelta(minutes=5)),
MockLog("create_file_record", "success", now - timedelta(minutes=4)),
MockLog("extract_metadata_with_gpt", "failure", now - timedelta(minutes=3)),
MockLog("upload_to_dropbox", "success", now - timedelta(minutes=2)),