fix: traiter le premier lot de tickets
Refs #4 #5 #6 #9 #12 #16 #18 #20
This commit is contained in:
parent
3f82acbbd8
commit
04cbe54dd1
14 changed files with 87 additions and 12 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue