mod middleware

This commit is contained in:
Philipp Lang 2023-03-08 14:53:00 +01:00
parent c385212f75
commit 00592aca0e
3 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ class ServiceProvider extends BaseServiceProvider
protected function routeGroup(): array protected function routeGroup(): array
{ {
return [ return [
'middleware' => config('medialibrary-helper.middleware'), 'middleware' => config('media-library.middleware'),
]; ];
} }
} }

View File

@ -39,6 +39,6 @@ class MiddlewareTest extends TestCase
protected function defineEnvironment($app) protected function defineEnvironment($app)
{ {
$app['config']->set('medialibrary-helper.middleware', ['web', 'auth:web']); $app['config']->set('media-library.middleware', ['web', 'auth:web']);
} }
} }

View File

@ -82,6 +82,6 @@ class TestCase extends BaseTestCase
protected function defineEnvironment($app) protected function defineEnvironment($app)
{ {
$app['config']->set('medialibrary-helper.middleware', ['web']); $app['config']->set('media-library.middleware', ['web']);
} }
} }