mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Correct bootstrap for Orchestra 6.*
This commit is contained in:
+6
-1
@@ -4,9 +4,14 @@ use Filament\FilamentServiceProvider;
|
||||
use Filament\Forms\FormsServiceProvider;
|
||||
use Filament\Tables\TablesServiceProvider;
|
||||
use Livewire\LivewireServiceProvider;
|
||||
use Orchestra\Testbench\Concerns\CreatesApplication;
|
||||
use Orchestra\Testbench\Foundation\Application;
|
||||
|
||||
$app = (new Application())
|
||||
$basePathLocator = new class {
|
||||
use CreatesApplication;
|
||||
};
|
||||
|
||||
$app = (new Application($basePathLocator::applicationBasePath()))
|
||||
->configure([
|
||||
'enables_package_discoveries' => true,
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user