test: do not depend on a built asset manifest
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 <noreply@anthropic.com>feat/portal-design
parent
2c0884357c
commit
7af3e2957b
|
|
@ -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();
|
||||
}
|
||||
//
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue