From 8a795893173a005553070c722680a05a652c0b05 Mon Sep 17 00:00:00 2001 From: Matthew Penner Date: Sat, 23 Jan 2021 15:05:35 -0700 Subject: [PATCH] Fix factories and seeders having wrong directory name --- database/Factories/AllocationFactory.php | 2 +- database/Factories/ApiKeyFactory.php | 2 +- database/Factories/BackupFactory.php | 2 +- database/Factories/DatabaseFactory.php | 2 +- database/Factories/DatabaseHostFactory.php | 2 +- database/Factories/EggFactory.php | 2 +- database/Factories/EggVariableFactory.php | 2 +- database/Factories/LocationFactory.php | 2 +- database/Factories/NestFactory.php | 2 +- database/Factories/NodeFactory.php | 2 +- database/Factories/ScheduleFactory.php | 2 +- database/Factories/ServerFactory.php | 2 +- database/Factories/SubuserFactory.php | 2 +- database/Factories/TaskFactory.php | 2 +- database/Factories/UserFactory.php | 2 +- database/Seeders/EggSeeder.php | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/database/Factories/AllocationFactory.php b/database/Factories/AllocationFactory.php index e7a5f7e67..41cf67148 100644 --- a/database/Factories/AllocationFactory.php +++ b/database/Factories/AllocationFactory.php @@ -1,6 +1,6 @@ filesystem->allFiles(database_path('seeders/eggs/' . kebab_case($nest->name))); + $files = $this->filesystem->allFiles(database_path('Seeders/eggs/' . kebab_case($nest->name))); $this->command->alert('Updating Eggs for Nest: ' . $nest->name); Collection::make($files)->each(function ($file) use ($nest) {