Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix: remove references to non-existent Document attributes in test (#32654)

edvatar248202c22006
diff --git a/api/tests/test_containers_integration_tests/tasks/test_disable_segments_from_index_task.py b/api/tests/test_containers_integration_tests/tasks/test_disable_segments_from_index_task.py
index 56b53a24b5e..a93a80e231a 100644
--- a/api/tests/test_containers_integration_tests/tasks/test_disable_segments_from_index_task.py
+++ b/api/tests/test_containers_integration_tests/tasks/test_disable_segments_from_index_task.py
@@ -147,8 +147,7 @@ class TestDisableSegmentsFromIndexTask:
document.cleaning_completed_at = fake.date_time_this_year()
document.splitting_completed_at = fake.date_time_this_year()
document.tokens = fake.random_int(min=50, max=500)
- document.indexing_started_at = fake.date_time_this_year()
- document.indexing_completed_at = fake.date_time_this_year()
+ document.completed_at = fake.date_time_this_year()
document.indexing_status = "completed"
document.enabled = True
document.archived = False