diff --git a/src/ServiceProvider.php b/src/ServiceProvider.php index 237b516..2468be7 100644 --- a/src/ServiceProvider.php +++ b/src/ServiceProvider.php @@ -31,7 +31,7 @@ class ServiceProvider extends BaseServiceProvider protected function routeGroup(): array { return [ - 'middleware' => config('medialibrary-helper.middleware'), + 'middleware' => config('media-library.middleware'), ]; } } diff --git a/tests/Feature/MiddlewareTest.php b/tests/Feature/MiddlewareTest.php index 3478792..353fa75 100644 --- a/tests/Feature/MiddlewareTest.php +++ b/tests/Feature/MiddlewareTest.php @@ -39,6 +39,6 @@ class MiddlewareTest extends TestCase protected function defineEnvironment($app) { - $app['config']->set('medialibrary-helper.middleware', ['web', 'auth:web']); + $app['config']->set('media-library.middleware', ['web', 'auth:web']); } } diff --git a/tests/TestCase.php b/tests/TestCase.php index 976064f..4fbae25 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -82,6 +82,6 @@ class TestCase extends BaseTestCase protected function defineEnvironment($app) { - $app['config']->set('medialibrary-helper.middleware', ['web']); + $app['config']->set('media-library.middleware', ['web']); } }