]> BookStack Code Mirror - bookstack/blobdiff - config/database.php
#47 - Fixes the issues with the test case.
[bookstack] / config / database.php
index e4d6880c7510e52981cab306f69c11c0c3959a4a..92c7682450a68317015e6559380e34cfeaf414db 100644 (file)
@@ -82,10 +82,10 @@ return [
 
         'mysql_testing' => [
             'driver'    => 'mysql',
-            'host'      => 'localhost',
+            'host'      => '127.0.0.1',
             'database'  => 'bookstack-test',
-            'username'  => 'bookstack-test',
-            'password'  => 'bookstack-test',
+            'username'  => env('MYSQL_USER', 'bookstack-test'),
+            'password'  => env('MYSQL_PASSWORD', 'bookstack-test'),
             'charset'   => 'utf8',
             'collation' => 'utf8_unicode_ci',
             'prefix'    => '',