added unit testing

This commit is contained in:
Mohd Arief
2018-05-15 10:59:26 +08:00
parent 0a13822716
commit bc6f948314
7 changed files with 124 additions and 59 deletions
+15
View File
@@ -54,6 +54,21 @@ return [
'engine' => null,
],
'testing' => [
'driver' => 'mysql',
'host' => env('DB_HOST', 'localhost'),
'port' => env('DB_PORT', '3306'),
'database' => 'forunittest',
'username' => 'root',
'password' => '',
'unix_socket' => env('DB_SOCKET', ''),
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
'prefix' => '',
'strict' => true,
'engine' => null,
],
'pgsql' => [
'driver' => 'pgsql',
'host' => env('DB_HOST', '127.0.0.1'),