Apply the optimize fix

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-07-18 04:43:46 +01:00
parent 9858cc5baf
commit 670021a482

View file

@ -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();
}
}