mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-17 17:47:13 +00:00
tests: remove L5.5 workaround (#1023)
This commit is contained in:
+1
-3
@@ -5,7 +5,6 @@ declare(strict_types=1);
|
||||
namespace Barryvdh\LaravelIdeHelper\Tests;
|
||||
|
||||
use Illuminate\Console\Command;
|
||||
use Illuminate\Console\OutputStyle;
|
||||
use Orchestra\Testbench\TestCase as BaseTestCase;
|
||||
use Spatie\Snapshots\MatchesSnapshots;
|
||||
use Symfony\Component\Console\Tester\CommandTester;
|
||||
@@ -30,8 +29,7 @@ abstract class TestCase extends BaseTestCase
|
||||
*/
|
||||
protected function runCommand(Command $command, array $arguments = [], array $interactiveInput = []): CommandTester
|
||||
{
|
||||
// TODO: once Laravel 5.5 is dropped, call `$this->withoutMockingConsoleOutput()` instead
|
||||
$this->app->offsetUnset(OutputStyle::class);
|
||||
$this->withoutMockingConsoleOutput();
|
||||
|
||||
$command->setLaravel($this->app);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user