mirror of
https://github.com/flarum/core.git
synced 2025-02-24 11:13:40 +01:00
Fix tests
This commit is contained in:
parent
550d35e86f
commit
2b174b17fc
@ -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…
x
Reference in New Issue
Block a user