diff --git a/framework/core/tests/Test/Concerns/MakesApiRequests.php b/framework/core/tests/Test/Concerns/MakesApiRequests.php index 3e039ad49..c7f165d97 100644 --- a/framework/core/tests/Test/Concerns/MakesApiRequests.php +++ b/framework/core/tests/Test/Concerns/MakesApiRequests.php @@ -23,6 +23,8 @@ trait MakesApiRequests /** @var Client $api */ $api = app(Client::class); + $api->setErrorHandler(null); + return $api->send($controller, $actor ?? new Guest, $queryParams, $body); } }