mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 17:57:04 +08:00
chore: Remove dead code
This commit is contained in:
parent
1754313503
commit
97ac47ea94
|
@ -90,13 +90,6 @@ class TestCase extends \Flarum\Testing\integration\TestCase
|
|||
$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
|
||||
{
|
||||
$json = json_decode((string) $response->getBody(), true);
|
||||
|
|
Loading…
Reference in New Issue
Block a user