From 00592aca0e248706331c0de11cc2bafeee230b86 Mon Sep 17 00:00:00 2001 From: Philipp Lang Date: Wed, 8 Mar 2023 14:53:00 +0100 Subject: [PATCH] mod middleware --- src/ServiceProvider.php | 2 +- tests/Feature/MiddlewareTest.php | 2 +- tests/TestCase.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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']); } }