From bd0b2a2f1d62104eb3487b7ba92cd43caefbd1a1 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Fri, 21 Sep 2018 14:32:41 +0930 Subject: [PATCH] Fix tests --- framework/core/tests/Test/Concerns/MakesApiRequests.php | 2 ++ 1 file changed, 2 insertions(+) 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); } }