update testing db credentials

This commit is contained in:
Jack Goh
2018-08-01 17:59:00 +08:00
parent e1ef66fbc7
commit ff1c72f252
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -1,11 +1,11 @@
APP_ENV=test
APP_ENV=testing
APP_DEBUG=true
APP_KEY=w7VQXeA7U31DCdh1U39lpRz0iD7i0oCI
APP_URL=http://localhost
DB_HOST=mysql
DB_PORT=3306
DB_DATABASE=default
DB_DATABASE=phpunit
DB_USERNAME=default
DB_PASSWORD=secret
+1 -1
View File
@@ -6,7 +6,7 @@ stages:
- staging
variables:
MYSQL_DATABASE: default
MYSQL_DATABASE: phpunit
MYSQL_USER: default
MYSQL_PASSWORD: secret
MYSQL_ROOT_PASSWORD: root
+3 -3
View File
@@ -58,9 +58,9 @@ return [
'driver' => 'mysql',
'host' => env('DB_HOST', 'localhost'),
'port' => env('DB_PORT', '3306'),
'database' => 'forunittest',
'username' => 'root',
'password' => '',
'database' => 'phpunit',
'username' => 'default',
'password' => 'secret',
'unix_socket' => env('DB_SOCKET', ''),
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',