1
0
mirror of https://github.com/flarum/core.git synced 2025-02-24 11:13:40 +01:00

Fix tests

This commit is contained in:
Toby Zerner 2018-09-21 14:32:41 +09:30
parent 550d35e86f
commit 2b174b17fc

View File

@ -23,6 +23,8 @@ trait MakesApiRequests
/** @var Client $api */ /** @var Client $api */
$api = app(Client::class); $api = app(Client::class);
$api->setErrorHandler(null);
return $api->send($controller, $actor ?? new Guest, $queryParams, $body); return $api->send($controller, $actor ?? new Guest, $queryParams, $body);
} }
} }