diff --git a/WEB/tests/Feature/SuggestionTest.php b/WEB/tests/Feature/SuggestionTest.php index 519f094..b9b56be 100644 --- a/WEB/tests/Feature/SuggestionTest.php +++ b/WEB/tests/Feature/SuggestionTest.php @@ -16,13 +16,6 @@ class SuggestionTest extends TestCase { use RefreshDatabase; - protected function setUp(): void - { - parent::setUp(); - // Évite l'erreur "Vite manifest not found" au rendu des vues. - $this->withoutVite(); - } - #[Test] public function un_invite_est_redirige_vers_login() { diff --git a/WEB/tests/TestCase.php b/WEB/tests/TestCase.php index fe1ffc2..aef1ccb 100644 --- a/WEB/tests/TestCase.php +++ b/WEB/tests/TestCase.php @@ -6,5 +6,13 @@ use Illuminate\Foundation\Testing\TestCase as BaseTestCase; abstract class TestCase extends BaseTestCase { - // + protected function setUp(): void + { + parent::setUp(); + + // Les assets front (Vite) ne sont pas compilés dans l'environnement de + // test / CI : on neutralise la directive @vite pour que le rendu des + // vues ne dépende pas du manifeste (public/build/manifest.json). + $this->withoutVite(); + } } diff --git a/docs/Dossier_Deploiement_Securisation_CESIZen.docx b/docs/Dossier_Deploiement_Securisation_CESIZen.docx index 5c3c547..0848931 100644 Binary files a/docs/Dossier_Deploiement_Securisation_CESIZen.docx and b/docs/Dossier_Deploiement_Securisation_CESIZen.docx differ diff --git a/docs/img/diag_cicd.png b/docs/img/diag_cicd.png index 996faff..66ffe51 100644 Binary files a/docs/img/diag_cicd.png and b/docs/img/diag_cicd.png differ diff --git a/presentation_bloc3.js b/presentation_bloc3.js index e9d15a1..e67b6af 100644 --- a/presentation_bloc3.js +++ b/presentation_bloc3.js @@ -124,9 +124,9 @@ function card(s, x, y, w, h, accent, title, lines) { const s = pres.addSlide(); s.background = { color: C.lightBg }; header(s, 5, "Maintenance", "Gestion des évolutions & incidents"); - card(s, 0.65, 1.45, 4.35, 2.5, C.teal, "Gitea Issues (2 modèles)", [ + card(s, 0.65, 1.45, 4.35, 2.5, C.teal, "Gitea Issues + formulaire in-app", [ "🐞 Rapport d'incident (correctif)", "✨ Demande d'évolution (évolutif)", - "Champs structurés & priorité"]); + "Formulaire du site → ticket Gitea (API)", "Champs structurés & priorité"]); card(s, 5.15, 1.45, 4.3, 2.5, C.yellow, "Pilotage", [ "Labels + tableau Kanban", "Jalons = versions (SemVer)", "Pull Request obligatoire"]); @@ -161,7 +161,7 @@ function card(s, x, y, w, h, accent, title, lines) { s.background = { color: C.lightBg }; header(s, 7, "Déploiement", "CI/CD automatisée — Gitea Actions"); s.addImage({ path: "docs/img/diag_cicd.png", x: 0.65, y: 1.4, w: 8.8, h: 3.5 }); - s.addText("Un push lance les tests & contrôles qualité ; une fusion sur main construit l'image, la publie et redéploie automatiquement.", + s.addText("Un push lance style, analyse statique, tests & couverture ; une fusion sur main déclenche le déploiement SSH (mise à jour, conteneurs, migrations).", { x: 0.65, y: 4.95, w: 8.8, h: 0.4, fontSize: 11, italic: true, color: C.gray, fontFace: "Calibri", margin: 0 }); }