mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
5ba92c7ff4
testCreateRedirectRule reassigned $ruleId for the second redirect rule, so only the second was tracked, and cleanupSite was called before cleanupRule. Site deletion cascades to its rules, so cleanupRule then saw a 404 and the strict assertEquals(204) blew up. Track both rule IDs and tear them down before the site so the asserted 204 actually fires. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>