toBeFalse(); $compiled = storage_path('framework/testing/view-cache-'.uniqid()); File::ensureDirectoryExists($compiled); config(['view.compiled' => $compiled]); try { $this->artisan('view:cache')->assertSuccessful(); } finally { File::deleteDirectory($compiled); } });