mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-15 18:14:09 -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();
|
|
}
|
|
}
|