mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Apply the optimize fix
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
9858cc5baf
commit
670021a482
|
@ -9,6 +9,12 @@ class OptimizeTest extends TestCase
|
|||
{
|
||||
public function testOptimizeSucceeds()
|
||||
{
|
||||
|
||||
$this->beforeApplicationDestroyed(function () {
|
||||
$this->artisan('config:clear');
|
||||
$this->artisan('route:clear');
|
||||
});
|
||||
|
||||
$this->artisan('optimize')->assertSuccessful();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue