mirror of
https://github.com/langgenius/dify.git
synced 2025-12-21 06:54:41 +00:00
- Updated the function to use a deterministic counter for IDs, reducing flakiness in tests. - Ensured the ID counter resets before each test to maintain reproducibility. - Adjusted assertions in the tests to explicitly check for error handling when the documents array is empty, improving clarity and reliability of edge case testing. - Fixed a link in the tests to ensure it points to the correct documentation URL. These changes enhance the robustness and reliability of the testing suite for document processing components.