Skip to content

Commit

Permalink
remove test code
Browse files Browse the repository at this point in the history
  • Loading branch information
shibomb committed Aug 4, 2023
1 parent 04cd22b commit fe668ce
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 17 deletions.
File renamed without changes.
5 changes: 0 additions & 5 deletions tests/ArchTest.php

This file was deleted.

5 changes: 0 additions & 5 deletions tests/ExampleTest.php

This file was deleted.

9 changes: 2 additions & 7 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,16 @@
use Filament\Support\SupportServiceProvider;
use Filament\Tables\TablesServiceProvider;
use Filament\Widgets\WidgetsServiceProvider;
use Illuminate\Database\Eloquent\Factories\Factory;
use Livewire\LivewireServiceProvider;
use Orchestra\Testbench\TestCase as Orchestra;
use RyanChandler\BladeCaptureDirective\BladeCaptureDirectiveServiceProvider;
use Shibomb\FilamentPhpinfoWidget\FilamentPhpinfoServiceProvider;
use Shibomb\FilamentPhpinfoWidget\FilamentPhpinfoWidgetServiceProvider;

class TestCase extends Orchestra
{
protected function setUp(): void
{
parent::setUp();

Factory::guessFactoryNamesUsing(
fn (string $modelName) => 'Shibomb\\FilamentPhpinfo\\Database\\Factories\\'.class_basename($modelName).'Factory'
);
}

protected function getPackageProviders($app)
Expand All @@ -48,7 +43,7 @@ protected function getPackageProviders($app)
SupportServiceProvider::class,
TablesServiceProvider::class,
WidgetsServiceProvider::class,
FilamentPhpinfoServiceProvider::class,
FilamentPhpinfoWidgetServiceProvider::class,
];
}

Expand Down

0 comments on commit fe668ce

Please sign in to comment.