Cleaning up test data.

This commit is contained in:
James Cole
2016-02-05 15:01:33 +01:00
parent 8e1dbc03d9
commit e2d0ee125f
6 changed files with 962 additions and 849 deletions

View File

@@ -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');
}
}
}