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