Files
monica/tests/Unit/Commands/SetupCommandTest.php
T

21 lines
533 B
PHP

<?php
namespace Tests\Unit\Commands;
use Tests\TestCase;
class SetupCommandTest extends TestCase
{
/** @test */
public function it_run_setup_command(): void
{
$this->artisan('monica:setup')
->expectsOutput('✓ Resetting application cache')
->expectsOutput('✓ Clear config cache')
->expectsOutput('✓ Clear route cache')
->expectsOutput('✓ Clear view cache')
->expectsOutput('✓ Performing migrations')
->assertExitCode(0);
}
}