Skip to content

Commit

Permalink
Outputs command output
Browse files Browse the repository at this point in the history
  • Loading branch information
little-apps committed Jun 2, 2024
1 parent d392690 commit d492805
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/Features/CommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace LittleApps\LittleJWT\Tests\Features;

use Illuminate\Foundation\Testing\WithFaker;
use Illuminate\Support\Facades\Artisan;
use Illuminate\Support\Facades\Storage;
use LittleApps\LittleJWT\Tests\Concerns\CreatesEnvFile;
use LittleApps\LittleJWT\Tests\Concerns\InteractsWithLittleJWT;
Expand Down Expand Up @@ -50,8 +51,9 @@ public function test_secret_phrase_generated_for_new_key()
*/
public function test_generate_valid_size()
{
$this->artisan('littlejwt:phrase', ['--size' => '1024', '--yes' => true])
->assertSuccessful();
$this->withoutMockingConsoleOutput()->artisan('littlejwt:phrase', ['--size' => '1024', '--yes' => true]);

dd(Artisan::output());
}

/**
Expand Down

0 comments on commit d492805

Please sign in to comment.