tests: fix assertion (#1139)

* tests: fix assertion

* composer fix-style

Co-authored-by: laravel-ide-helper <[email protected]>
This commit is contained in:
Markus Podar
2021-01-11 09:14:12 +01:00
committed by GitHub
co-authored by laravel-ide-helper
parent fd30d1190d
commit a83df51ad4
3 changed files with 5 additions and 5 deletions
@@ -4,15 +4,15 @@ declare(strict_types=1);
namespace Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\Factories;
use Illuminate\Foundation\Application;
use Barryvdh\LaravelIdeHelper\Console\ModelsCommand;
use Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\AbstractModelsCommand;
use Illuminate\Foundation\Application;
class Test extends AbstractModelsCommand
{
public function test(): void
{
if (! version_compare(Application::VERSION, '8.2', '>=')) {
if (!version_compare(Application::VERSION, '8.2', '>=')) {
$this->markTestSkipped(
'This test only works in Laravel >= 8.2'
);