Compare commits
2 Commits
f1825434ed
...
9a0015f205
| Author | SHA1 | Date | |
|---|---|---|---|
| 9a0015f205 | |||
| 94b4218ba5 |
@@ -16,13 +16,6 @@ class SuggestionTest extends TestCase
|
|||||||
{
|
{
|
||||||
use RefreshDatabase;
|
use RefreshDatabase;
|
||||||
|
|
||||||
protected function setUp(): void
|
|
||||||
{
|
|
||||||
parent::setUp();
|
|
||||||
// Évite l'erreur "Vite manifest not found" au rendu des vues.
|
|
||||||
$this->withoutVite();
|
|
||||||
}
|
|
||||||
|
|
||||||
#[Test]
|
#[Test]
|
||||||
public function un_invite_est_redirige_vers_login()
|
public function un_invite_est_redirige_vers_login()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -6,5 +6,13 @@ use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
|
|||||||
|
|
||||||
abstract class TestCase extends 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();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
@@ -124,9 +124,9 @@ function card(s, x, y, w, h, accent, title, lines) {
|
|||||||
const s = pres.addSlide();
|
const s = pres.addSlide();
|
||||||
s.background = { color: C.lightBg };
|
s.background = { color: C.lightBg };
|
||||||
header(s, 5, "Maintenance", "Gestion des évolutions & incidents");
|
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)",
|
"🐞 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", [
|
card(s, 5.15, 1.45, 4.3, 2.5, C.yellow, "Pilotage", [
|
||||||
"Labels + tableau Kanban", "Jalons = versions (SemVer)",
|
"Labels + tableau Kanban", "Jalons = versions (SemVer)",
|
||||||
"Pull Request obligatoire"]);
|
"Pull Request obligatoire"]);
|
||||||
@@ -161,7 +161,7 @@ function card(s, x, y, w, h, accent, title, lines) {
|
|||||||
s.background = { color: C.lightBg };
|
s.background = { color: C.lightBg };
|
||||||
header(s, 7, "Déploiement", "CI/CD automatisée — Gitea Actions");
|
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.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 });
|
{ x: 0.65, y: 4.95, w: 8.8, h: 0.4, fontSize: 11, italic: true, color: C.gray, fontFace: "Calibri", margin: 0 });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user