3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-03-05 07:59:29 +00:00
Files
snipe-it/tests/Feature/Console/OptimizeTest.php
Marcus Moore 3e832e5e94 Revert "Define test classes as final"
This reverts commit 95516b0343.
2024-08-06 13:31:17 -07:00

19 lines
369 B
PHP

<?php
namespace Tests\Feature\Console;
use Tests\TestCase;
class OptimizeTest extends TestCase
{
public function testOptimizeSucceeds()
{
$this->beforeApplicationDestroyed(function () {
$this->artisan('config:clear');
$this->artisan('route:clear');
});
$this->artisan('optimize')->assertSuccessful();
}
}