diff --git a/tests/Command/OptimizeTest.php b/tests/Command/OptimizeTest.php index 00ef1a4..4f06700 100644 --- a/tests/Command/OptimizeTest.php +++ b/tests/Command/OptimizeTest.php @@ -20,6 +20,7 @@ file_put_contents(base_path('composer.json'), $this->originalComposerContents); config()->set('data.structure_caching.enabled', false); + $this->artisan('optimize:clear')->assertSuccessful()->execute(); }); it('can optimize discovered domain providers, commands, migrations', function () {