mod middleware
This commit is contained in:
parent
c385212f75
commit
00592aca0e
|
@ -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'),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue