Skip to content

Commit

Permalink
Configure mysql_testing in database.php
Browse files Browse the repository at this point in the history
  • Loading branch information
freescout-help-desk committed Sep 23, 2023
1 parent 33ccc85 commit 3a6d5b3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: Test Application

on:
push:
branches:
- master
- dist
workflow_dispatch:

jobs:
Expand Down
24 changes: 14 additions & 10 deletions config/database.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,20 @@
]) : [],
],

'testing' => [
'driver' => 'mysql',
'host' => env('DB_TEST_HOST', 'localhost'),
'database' => env('DB_TEST_DATABASE', 'homestead_test'),
'username' => env('DB_TEST_USERNAME', 'homestead'),
'password' => env('DB_TEST_PASSWORD', 'secret'),
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
'prefix' => '',
'strict' => false,
'mysql_testing' => [
'driver' => 'mysql',
//'url' => env('DB_TEST_DATABASE_URL'),
'host' => '127.0.0.1',
'database' => 'freescout-test',
'username' => env('DB_TEST_USERNAME', 'freescout-test'),
'password' => env('DB_TEST_PASSWORD', 'freescout-test'),
//'port' => env('DB_TEST_PORT', '3306'),
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
'prefix' => '',
//'prefix_indexes' => true,
'strict' => false,
'engine' => null,
],

'pgsql' => [
Expand Down

0 comments on commit 3a6d5b3

Please sign in to comment.