Some new code for testing.

This commit is contained in:
James Cole
2016-01-16 09:15:24 +01:00
parent e834489206
commit deaebc373c
7 changed files with 1530 additions and 1411 deletions

View File

@@ -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

File diff suppressed because it is too large Load Diff