Commit 5002f2f7 authored by SCHNEIDER Remi's avatar SCHNEIDER Remi
Browse files

ajout d'un test pour GetRecipes dans Hierarchy.php

parent ee8d0608
......@@ -50,6 +50,14 @@
echo '</div>';
/*$tabVide = [];
$recipes_with_aliment = getRecipes(get_all_aliments($aliment), $tabVide, 0, false, false);
echo '<div class="category-view">';
echo '<h1> Toutes les recettes contenant '.$aliment.' </h1>';
foreach($recipes_with_aliment as $recipe) {
echo '<li>'.$recipe['titre'].'</li>';
echo '</div>';
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment