1
0
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:
Franz Liedke
2019-08-09 23:57:33 +02:00
parent 57ce25301d
commit 81a8736ba9
10 changed files with 33 additions and 68 deletions

View File

@@ -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);
}
}