mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
1c85789a6e
The testListDocumentsWithCache and testListDocumentsCacheBustedByAttributeChange tests were failing because testCreateDocument (which runs earlier) adds 3 more documents to the same movies collection, resulting in 6 docs instead of expected 3. Additionally, the cache bust test was getting a cache 'hit' instead of 'miss' on its first request due to sharing the same cache key as the previous test. Fix by filtering all cache test queries to the 3 known setup document IDs, and using distinct select/order queries in each test to avoid cache key collisions. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>