mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 00:27:30 +00:00
Cleaning up test data.
This commit is contained in:
@@ -23,14 +23,9 @@ class DatabaseSeeder extends Seeder
|
||||
$this->call('PermissionSeeder');
|
||||
|
||||
// set up basic test data (as little as possible):
|
||||
if (App::environment() == 'testing') {
|
||||
if (App::environment() == 'testing' || App::environment() == 'local') {
|
||||
$this->call('TestDataSeeder');
|
||||
}
|
||||
|
||||
// this one is reserved for more extensive testing.
|
||||
if (App::environment() == 'local') {
|
||||
$this->call('VisualTestDataSeeder');
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user