mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 21:54:14 -08:00
19 lines
369 B
PHP
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();
|
|
}
|
|
}
|