1
0
mirror of https://github.com/flarum/core.git synced 2025-08-02 22:47:33 +02:00

chore: Remove dead code

This commit is contained in:
SychO9
2021-11-24 19:41:32 +01:00
parent 1754313503
commit 97ac47ea94

View File

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