mirror of
https://github.com/flarum/core.git
synced 2025-08-07 00:47:00 +02:00
API Client: Use new error handling mechanism
This commit is contained in:
@@ -53,8 +53,6 @@ abstract class ApiControllerTestCase extends TestCase
|
||||
/** @var Client $api */
|
||||
$api = $this->app()->getContainer()->make(Client::class);
|
||||
|
||||
$api->setErrorHandler(null);
|
||||
|
||||
return $api->send($controller, $actor ?? new Guest, $queryParams, $body);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user