12-05-2026 Frontend dev
This commit is contained in:
parent
405df0a122
commit
5b8bdf4182
779 changed files with 480564 additions and 6241 deletions
|
|
@ -1,5 +1,9 @@
|
|||
<?php
|
||||
|
||||
use App\Services\CurrentPortalContext;
|
||||
use Illuminate\Foundation\Testing\RefreshDatabase;
|
||||
use Tests\TestCase;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Test Case
|
||||
|
|
@ -11,8 +15,13 @@
|
|||
|
|
||||
*/
|
||||
|
||||
pest()->extend(Tests\TestCase::class)
|
||||
->use(Illuminate\Foundation\Testing\RefreshDatabase::class)
|
||||
pest()->extend(TestCase::class)
|
||||
->use(RefreshDatabase::class)
|
||||
->beforeEach(function () {
|
||||
// PortalScope-Context zwischen Tests zurücksetzen, damit statischer
|
||||
// State aus vorherigen Requests nicht in Volt-Tests durchschlägt.
|
||||
CurrentPortalContext::clear();
|
||||
})
|
||||
->in('Feature');
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue