fix: traiter le premier lot de tickets

Refs #4 #5 #6 #9 #12 #16 #18 #20
This commit is contained in:
Alexandre NOEL 2026-09-07 23:31:29 +02:00
commit 04cbe54dd1
14 changed files with 87 additions and 12 deletions

View file

@ -499,6 +499,19 @@ try {
);
}
$assert(is_file($root . '/public/media/animals/' . $twix . '/twix.webp'), 'Photo de Twix absente');
$assert(
(int) $db
->query(
"SELECT COUNT(*) FROM animals WHERE website_published=1 AND adoption_availability='available' AND archived_at IS NULL",
)
->fetchColumn() >= 1,
'Aucun animal de démonstration publié sur le site public',
);
$assert(
(int) $db->query("SELECT COUNT(*) FROM sqlite_master WHERE type='table' AND name='geocode_cache'")
->fetchColumn() === 1,
'Cache de géocodage absent',
);
DemoDataService::clearFiles();
});
} finally {