From 7af3e2957b7ba282d7a90f47738f4eac1668d733 Mon Sep 17 00:00:00 2001 From: nexxo Date: Sun, 26 Jul 2026 02:03:58 +0200 Subject: [PATCH] test: do not depend on a built asset manifest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CI has no build, so every page rendering through @vite threw a view exception — dozens of failures with one cause. withoutVite() makes the suite test the application rather than the state of the asset pipeline; a broken build shows up in the build job, which is where it belongs. Co-Authored-By: Claude Opus 4.8 --- tests/TestCase.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/TestCase.php b/tests/TestCase.php index fe1ffc2..f05ae66 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -6,5 +6,12 @@ use Illuminate\Foundation\Testing\TestCase as BaseTestCase; abstract class TestCase extends BaseTestCase { + protected function setUp(): void + { + parent::setUp(); + + // The suite must not depend on a built manifest. + $this->withoutVite(); + } // }