3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-07 02:55:36 +00:00
Files
snipe-it/tests/Feature/Console/OptimizeTest.php
Marcus Moore 82e795b642 Revert "Add return types to test methods"
This reverts commit 83fb6826ee.
2024-08-06 13:30:34 -07:00

19 lines
375 B
PHP

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