Will implement changes to test database.

This commit is contained in:
James Cole
2016-05-14 17:08:28 +02:00
parent 771926c779
commit f78d56b149
6 changed files with 793 additions and 77 deletions

View File

@@ -22,14 +22,9 @@ class DatabaseSeeder extends Seeder
$this->call('TransactionTypeSeeder');
$this->call('PermissionSeeder');
// set up basic test data (as little as possible):
if (App::environment() == 'testing' || App::environment() == 'local') {
if (App::environment() == 'testing') {
$this->call('TestDataSeeder');
}
// set up basic test data (as little as possible):
if (App::environment() == 'split') {
$this->call('SplitDataSeeder');
}
}
}