diff --git a/Modules/HR/Database/Seeders/HRDatabaseSeeder.php b/Modules/HR/Database/Seeders/HRDatabaseSeeder.php index 7d7f0739d3..7f71cbc071 100644 --- a/Modules/HR/Database/Seeders/HRDatabaseSeeder.php +++ b/Modules/HR/Database/Seeders/HRDatabaseSeeder.php @@ -13,7 +13,7 @@ class HRDatabaseSeeder extends Seeder */ public function run() { - if (! app()->environment(['local', 'staging', 'UAT'])) { + if (! app()->environment(['local', 'staging', 'UAT', 'testing'])) { return 0; } $this->call(HRPermissionsTableSeeder::class); diff --git a/database/Seeders/DatabaseSeeder.php b/database/Seeders/DatabaseSeeder.php index 4ddb8906f7..e3b20745db 100644 --- a/database/Seeders/DatabaseSeeder.php +++ b/database/Seeders/DatabaseSeeder.php @@ -15,7 +15,7 @@ class DatabaseSeeder extends Seeder */ public function run() { - if (! app()->environment(['local', 'staging', 'UAT'])) { + if (! app()->environment(['local', 'staging', 'UAT', 'testing'])) { return 0; }