@@ -37,7 +37,7 @@ class Registrar
3737 'DBDriver ' => 'MySQLi ' ,
3838 'DBPrefix ' => 'db_ ' ,
3939 'pConnect ' => false ,
40- 'DBDebug ' => ( ENVIRONMENT !== ' production ' ) ,
40+ 'DBDebug ' => true ,
4141 'charset ' => 'utf8 ' ,
4242 'DBCollat ' => 'utf8_general_ci ' ,
4343 'swapPre ' => '' ,
@@ -56,7 +56,7 @@ class Registrar
5656 'DBDriver ' => 'Postgre ' ,
5757 'DBPrefix ' => 'db_ ' ,
5858 'pConnect ' => false ,
59- 'DBDebug ' => ( ENVIRONMENT !== ' production ' ) ,
59+ 'DBDebug ' => true ,
6060 'charset ' => 'utf8 ' ,
6161 'DBCollat ' => 'utf8_general_ci ' ,
6262 'swapPre ' => '' ,
@@ -75,7 +75,7 @@ class Registrar
7575 'DBDriver ' => 'SQLite3 ' ,
7676 'DBPrefix ' => 'db_ ' ,
7777 'pConnect ' => false ,
78- 'DBDebug ' => ( ENVIRONMENT !== ' production ' ) ,
78+ 'DBDebug ' => true ,
7979 'charset ' => 'utf8 ' ,
8080 'DBCollat ' => 'utf8_general_ci ' ,
8181 'swapPre ' => '' ,
@@ -95,7 +95,7 @@ class Registrar
9595 'DBDriver ' => 'SQLSRV ' ,
9696 'DBPrefix ' => 'db_ ' ,
9797 'pConnect ' => false ,
98- 'DBDebug ' => ( ENVIRONMENT !== ' production ' ) ,
98+ 'DBDebug ' => true ,
9999 'charset ' => 'utf8 ' ,
100100 'DBCollat ' => 'utf8_general_ci ' ,
101101 'swapPre ' => '' ,
@@ -114,7 +114,7 @@ class Registrar
114114 'DBDriver ' => 'OCI8 ' ,
115115 'DBPrefix ' => 'db_ ' ,
116116 'pConnect ' => false ,
117- 'DBDebug ' => ( ENVIRONMENT !== ' production ' ) ,
117+ 'DBDebug ' => true ,
118118 'charset ' => 'utf8 ' ,
119119 'DBCollat ' => 'utf8_general_ci ' ,
120120 'swapPre ' => '' ,
@@ -136,7 +136,7 @@ public static function Database()
136136
137137 // Under GitHub Actions, we can set an ENV var named 'DB'
138138 // so that we can test against multiple databases.
139- if (($ group = getenv ('DB ' )) && ! empty (self ::$ dbConfig [$ group ])) {
139+ if (($ group = getenv ('DB ' )) && ! isset (self ::$ dbConfig [$ group ])) {
140140 $ config ['tests ' ] = self ::$ dbConfig [$ group ];
141141 }
142142
0 commit comments