Skip to content

Commit

Permalink
Update minimum dependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
mdpoulter committed Jan 25, 2021
1 parent 3a7848f commit 64d52a9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 46 deletions.
4 changes: 1 addition & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@
},
"extra": {
"laravel": {
"providers": [
"SimpleSquid\\Nova\\Fields\\Enum\\EnumFieldServiceProvider"
]
"providers": []
}
},
"scripts": {
Expand Down
34 changes: 0 additions & 34 deletions src/EnumFieldServiceProvider.php

This file was deleted.

10 changes: 1 addition & 9 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,16 @@
use Illuminate\Database\Schema\Blueprint;
use Laravel\Nova\NovaServiceProvider;
use Orchestra\Testbench\TestCase as Orchestra;
use SimpleSquid\Nova\Fields\Enum\EnumFieldServiceProvider;

abstract class TestCase extends Orchestra
{
protected function getPackageProviders($app)
{
return [
EnumFieldServiceProvider::class,
NovaServiceProvider::class,
];
}

protected function setUp(): void
{
parent::setUp();

app()->register(NovaServiceProvider::class);
}

protected function setUpDatabase($app, $type = 'integer')
{
$this->artisan('migrate:fresh');
Expand Down

0 comments on commit 64d52a9

Please sign in to comment.