mirror of
https://github.com/flarum/framework.git
synced 2025-02-02 17:07:48 +08:00
Fix tests
This commit is contained in:
parent
92e8990e55
commit
bd0b2a2f1d
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user