Skip to content

Commit

Permalink
fix(*): Add CI files for code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
pankaj-ag committed Sep 11, 2023
1 parent 4d676ff commit d4587a3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env.testing
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ APP_TIMEZONE=UTC

DB_CONNECTION=testing
DB_TEST_DATABASE=portal_test
DB_TEST_USERNAME='root'
DB_TEST_USERNAME='mysql_test_user'
DB_TEST_PASSWORD='root'

CACHE_DRIVER=array
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
mysql:
image: mysql:5.7
env:
MYSQL_USER: root
MYSQL_USER: mysql_test_user
MYSQL_PASSWORD: root
MYSQL_ALLOW_EMPTY_PASSWORD: yes
MYSQL_DATABASE: portal_test
Expand Down
2 changes: 1 addition & 1 deletion config/database.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
'host' => env('DB_HOST', '127.0.0.1'),
'port' => env('DB_PORT', '3306'),
'database' => env('DB_TEST_DATABASE', 'portal_test'),
'username' => env('DB_TEST_USERNAME', 'root'),
'username' => env('DB_TEST_USERNAME', 'mysql_test_user'),
'password' => env('DB_TEST_PASSWORD', 'root'),
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
Expand Down

0 comments on commit d4587a3

Please sign in to comment.