appwrite/tests
Jake Barnby 1c85789a6e fix: scope cache tests to setup document IDs to avoid count mismatch
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>
2026-02-26 20:34:46 +13:00
..
benchmarks Add more benchmarks, update DB Lib 2025-02-13 16:52:53 +09:00
e2e fix: scope cache tests to setup document IDs to avoid count mismatch 2026-02-26 20:34:46 +13:00
extensions Fix hooks 2026-01-15 17:21:05 +13:00
resources Merge branch '1.8.x' into feat-mongodb 2026-02-18 08:42:56 +00:00
unit Merge branch '1.8.x' into feat-mongodb 2026-02-20 01:33:02 +13:00