corentin_wakdo/tests/Integration
Imugiii fe07e06ee1
All checks were successful
CI / secret-scan (pull_request) Successful in 8s
CI / php-lint (pull_request) Successful in 22s
CI / static-tests (pull_request) Successful in 44s
CI / js-tests (pull_request) Successful in 27s
CI / secret-scan (push) Successful in 11s
CI / php-lint (push) Successful in 28s
CI / static-tests (push) Successful in 50s
CI / js-tests (push) Successful in 24s
CI / auto-merge (pull_request) Successful in 4s
CI / auto-merge (push) Has been skipped
feat(admin): tableau de bord statistiques (catalogue + sante stock RG-T21) (P3)
Lot S du cycle P3 (Users/RBAC/Stats). Tableau de bord stats.read sur /admin/stats,
landing par defaut du role manager (ferme le 404 : la route existe enfin).

- StatsRepository : counts() (compteurs catalogue produits/menus/categories/
  ingredients, total + actifs/disponibles via SUM(bool)) ; stockHealth()
  (repartition des ingredients actifs par bande normal/low/critical, liste
  d'alerte triee du plus critique, reutilise IngredientRepository::stockBand =
  source unique de la derivation RG-T21).
- StatsController (stats.read) + vue admin/stats/index (cartes KPI + table
  d'alerte stock) + lien nav Pilotage (gated stats.read) + route.
- Les KPIs de vente (CA, volumes) dependent du domaine commande et sont
  explicitement differes en P4.

Tests : unit 233, integration 263 / 794 assertions (WAKDO_DB_TESTS=1), PHPStan L6.
2026-06-17 10:36:32 +00:00
..
AuthorizerDbTest.php feat: RBAC P2 (autorisation par permission + garde de session + /api/me) (#12) 2026-06-15 20:45:19 +02:00
AuthServiceDbTest.php feat: authentification back-office P2 (login/logout/reset, throttle, audit) (#11) 2026-06-15 20:18:59 +02:00
CategoryRepositoryDbTest.php feat: CRUD categories P3 (rendu serveur, garde + CSRF + validation) (#15) 2026-06-15 21:45:31 +02:00
IngredientRepositoryDbTest.php feat(admin): stock ingredients - CRUD, restock, inventaire PIN, mouvements (P3, mlt 8.8 + domaine 9) (#34) 2026-06-17 11:11:31 +02:00
MenuRepositoryDbTest.php feat(admin): CRUD menus composes avec slots (P3, mlt 8.4-8.6) (#32) 2026-06-16 15:39:09 +02:00
PinThrottleDbTest.php feat(admin): throttle du PIN d action sensible par acteur (RG-T22) (#18) 2026-06-16 00:06:33 +02:00
PinVerifierDbTest.php feat: PIN d action sensible P2 (PinVerifier RG-T13) (#13) 2026-06-15 21:00:11 +02:00
ProductIngredientDbTest.php feat(admin): recettes produit - composition product_ingredient + dispo calculee RG-T21 (P3, ferme #27) (#35) 2026-06-17 11:29:07 +02:00
ProductRepositoryDbTest.php feat(admin): CRUD produits avec PIN conditionnel et audit (#17) 2026-06-15 22:35:50 +02:00
StatsRepositoryDbTest.php feat(admin): tableau de bord statistiques (catalogue + sante stock RG-T21) (P3) 2026-06-17 10:36:32 +00:00
UserRepositoryDbTest.php feat: PIN self-service P3 (/admin/profile/pin) (#16) 2026-06-15 22:04:14 +02:00