From 2b174b17fc6af2971c6b27eefbe0688f332aa453 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Fri, 21 Sep 2018 14:32:41 +0930 Subject: [PATCH] Fix tests --- tests/Test/Concerns/MakesApiRequests.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Test/Concerns/MakesApiRequests.php b/tests/Test/Concerns/MakesApiRequests.php index 3e039ad49..c7f165d97 100644 --- a/tests/Test/Concerns/MakesApiRequests.php +++ b/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); } }