diff --git a/tests/Feature/App/Console/Commands/UpsertEmployeesFormFileTest.php b/tests/Feature/App/Console/Commands/UpsertEmployeesFormFileTest.php index e3c0b898..fea882cb 100644 --- a/tests/Feature/App/Console/Commands/UpsertEmployeesFormFileTest.php +++ b/tests/Feature/App/Console/Commands/UpsertEmployeesFormFileTest.php @@ -3,6 +3,8 @@ declare(strict_types=1); use Illuminate\Console\Command; +use Illuminate\Testing\PendingCommand; +use Webmozart\Assert\Assert; afterEach(function (): void { \Mockery::close(); @@ -19,8 +21,9 @@ describe('UpsertEmployeesFormFile command', function (): void { 'file' => $filePath, ]); + Assert::isInstanceOf($result, PendingCommand::class); + // THEN $result->assertExitCode(Command::FAILURE); }); - });