Correct bootstrap for Orchestra 6.*

This commit is contained in:
Dan
2022-03-01 10:17:19 -05:00
parent 550db49ad4
commit 9e45f93906
+6 -1
View File
@@ -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,
])