add test to ensure artisan optimize works

This commit is contained in:
Daniel Albertsen 2024-07-12 21:58:04 +02:00
parent b68fcf1de5
commit 431da6c903

View file

@ -0,0 +1,14 @@
<?php
namespace Tests\Feature\Console;
use Illuminate\Support\Facades\Artisan;
use Tests\TestCase;
class OptimizeTest extends TestCase
{
public function testOptimizeSucceeds()
{
$this->artisan('optimize')->assertSuccessful();
}
}