incr/tests/TestCase.php
myrmidex d778cfbebb
Some checks failed
CI / ci (push) Successful in 30s
CI / build (push) Failing after 42s
CI / ci (pull_request) Successful in 30s
CI / build (pull_request) Failing after 34s
46 - Disable Vite manifest resolution in tests
2026-08-16 10:50:28 +02:00

17 lines
393 B
PHP

<?php
namespace Tests;
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
abstract class TestCase extends BaseTestCase
{
protected function setUp(): void
{
parent::setUp();
// CI runs the asset build in a separate job, so there is no Vite
// manifest here; without this any test that renders the layout fails.
$this->withoutVite();
}
}