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