mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Some new code for testing.
This commit is contained in:
@@ -22,9 +22,15 @@ class DatabaseSeeder extends Seeder
|
||||
$this->call('TransactionTypeSeeder');
|
||||
$this->call('PermissionSeeder');
|
||||
|
||||
if (App::environment() == 'testing' || App::environment() == 'homestead' || gethostname() == 'lightning') {
|
||||
// set up basic test data (as little as possible):
|
||||
if (App::environment() == 'testing') {
|
||||
$this->call('TestDataSeeder');
|
||||
}
|
||||
|
||||
// this one is reserved for more extensive testing.
|
||||
//if (App::environment() == 'testing' || App::environment() == 'homestead' || gethostname() == 'lightning') {
|
||||
//$this->call('VisualTestDataSeeder');
|
||||
//}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
1424
database/seeds/VisualTestDataSeeder.php
Normal file
1424
database/seeds/VisualTestDataSeeder.php
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user