setup = app()->make(SetupService::class); } /** * @test */ public function it_create_system_folders() { Storage::fake('local'); $this->setup->create_directories(); collect(['avatars', 'chunks', 'system', 'files', 'temp', 'zip']) ->each(function ($directory) { Storage::disk('local')->assertExists($directory); }); } }