some refactoring for tests and adding some tables

This commit is contained in:
Nabeel Shahzad
2017-06-09 22:19:17 -05:00
parent 88f6730a8d
commit 7a79a8558e
32 changed files with 671 additions and 148 deletions

View File

@@ -46,12 +46,6 @@ return [
'connections' => [
'testing' => [
'driver' => 'sqlite',
'database' => database_path('testing.sqlite'),
'prefix' => '',
],
'mysql' => [
'driver' => 'mysql',
'host' => env('DB_HOST', 'localhost'),
@@ -66,6 +60,24 @@ return [
'engine' => null,
],
'local' => [
'driver' => 'sqlite',
'database' => database_path('testing.sqlite'),
'prefix' => '',
],
'unittest' => [
'driver' => 'sqlite',
'database' => database_path('unittest.sqlite'),
'prefix' => '',
],
'testing' => [
'driver' => 'sqlite',
'database' => ':memory:',
'prefix' => '',
],
],
/*