From 3b66fea925852ce24756ea1e239d1e74dde66363 Mon Sep 17 00:00:00 2001 From: Markus Podar Date: Sun, 30 Aug 2020 21:32:15 +0200 Subject: [PATCH] tests: no need for < 6 check, as we don't test < L6 anymore (#1025) --- tests/Console/ModelsCommand/AbstractModelsCommand.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/tests/Console/ModelsCommand/AbstractModelsCommand.php b/tests/Console/ModelsCommand/AbstractModelsCommand.php index 1a9c1c3..d694c43 100644 --- a/tests/Console/ModelsCommand/AbstractModelsCommand.php +++ b/tests/Console/ModelsCommand/AbstractModelsCommand.php @@ -6,10 +6,8 @@ namespace Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand; use Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider; use Barryvdh\LaravelIdeHelper\Tests\SnapshotPhpDriver; -use Barryvdh\LaravelIdeHelper\Tests\SnapshotTxtDriver; use Barryvdh\LaravelIdeHelper\Tests\TestCase; use Illuminate\Filesystem\Filesystem; -use Illuminate\Foundation\Application; use Mockery; abstract class AbstractModelsCommand extends TestCase @@ -20,17 +18,8 @@ abstract class AbstractModelsCommand extends TestCase { parent::setUp(); - // Skip older Laravel version for these tests - if (version_compare(Application::VERSION, '6.0', '<')) { - $this->markTestSkipped('This test requires Laravel 6.0 or higher'); - return; - } - $this->loadMigrationsFrom(__DIR__ . '/migrations'); $this->artisan('migrate'); - - - $this->mockFilesystem(); }