diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 0d75c0a..703a4a4 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -13,5 +13,6 @@ + diff --git a/src/BoostServiceProvider.php b/src/BoostServiceProvider.php index 4567695..2125099 100644 --- a/src/BoostServiceProvider.php +++ b/src/BoostServiceProvider.php @@ -55,7 +55,7 @@ public function register(): void public function boot(Router $router): void { - if (! app()->environment('local', 'testing')) { + if (config('app.debug', false) !== true) { return; }