24 lines
435 B
PHP
24 lines
435 B
PHP
|
<?php
|
||
|
|
||
|
namespace Tests\Feature\Commands;
|
||
|
|
||
|
use Illuminate\Foundation\Testing\RefreshDatabase;
|
||
|
use Illuminate\Foundation\Testing\WithFaker;
|
||
|
use Tests\TestCase;
|
||
|
|
||
|
class ClearQueueCommandTest extends TestCase
|
||
|
{
|
||
|
use RefreshDatabase;
|
||
|
|
||
|
/**
|
||
|
* A basic feature test example.
|
||
|
*
|
||
|
* @return void
|
||
|
*/
|
||
|
public function testClearQueue()
|
||
|
{
|
||
|
$this->artisan('queue:clear')
|
||
|
->assertExitCode(0);
|
||
|
}
|
||
|
}
|