mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-21 09:00:07 +00:00
Fixed data seeder.
This commit is contained in:
@@ -23,12 +23,12 @@ class DatabaseSeeder extends Seeder
|
|||||||
$this->call('PermissionSeeder');
|
$this->call('PermissionSeeder');
|
||||||
|
|
||||||
// set up basic test data (as little as possible):
|
// set up basic test data (as little as possible):
|
||||||
if (App::environment() == 'testing' && gethostname() != 'lightning') {
|
if (App::environment() == 'testing') {
|
||||||
$this->call('TestDataSeeder');
|
$this->call('TestDataSeeder');
|
||||||
}
|
}
|
||||||
|
|
||||||
// this one is reserved for more extensive testing.
|
// this one is reserved for more extensive testing.
|
||||||
if (App::environment() == 'testing' || gethostname() == 'lightning') {
|
if (App::environment() == 'local') {
|
||||||
$this->call('VisualTestDataSeeder');
|
$this->call('VisualTestDataSeeder');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user