From 209e0758481aabce95ef281081b7ef2226a11c22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=BCneyt=20=C5=9Eent=C3=BCrk?= Date: Tue, 24 Sep 2024 16:25:10 +0100 Subject: [PATCH] try fix action issue.. --- app/Providers/App.php | 4 ++++ phpunit.xml | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/app/Providers/App.php b/app/Providers/App.php index 81c196d9f..58d9b881d 100644 --- a/app/Providers/App.php +++ b/app/Providers/App.php @@ -2,6 +2,8 @@ namespace App\Providers; +use App\Exceptions\Handler; +use Illuminate\Contracts\Debug\ExceptionHandler; use Illuminate\Database\Eloquent\Model; use Illuminate\Pagination\Paginator; use Illuminate\Support\Facades\Schema; @@ -25,6 +27,8 @@ class App extends Provider $this->app->register(\Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class); } + $this->app->singleton(ExceptionHandler::class, Handler::class); + Sanctum::ignoreMigrations(); } diff --git a/phpunit.xml b/phpunit.xml index 226cf970d..3dfb18cb8 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -13,11 +13,11 @@ ./modules/**/Tests/Feature - + ./app - +