mirror of
https://github.com/flarum/core.git
synced 2025-08-03 15:07:53 +02:00
chore: Remove dead code
This commit is contained in:
@@ -90,13 +90,6 @@ class TestCase extends \Flarum\Testing\integration\TestCase
|
|||||||
$composer->run(new StringInput($command));
|
$composer->run(new StringInput($command));
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function errorGuessedCause(ResponseInterface $response): ?string
|
|
||||||
{
|
|
||||||
$details = $this->errorDetails($response);
|
|
||||||
|
|
||||||
return $details['guessed_cause'] ?? null;
|
|
||||||
}
|
|
||||||
|
|
||||||
protected function errorDetails(ResponseInterface $response): array
|
protected function errorDetails(ResponseInterface $response): array
|
||||||
{
|
{
|
||||||
$json = json_decode((string) $response->getBody(), true);
|
$json = json_decode((string) $response->getBody(), true);
|
||||||
|
Reference in New Issue
Block a user