diff --git a/tests/system/Database/BaseConnectionTest.php b/tests/system/Database/BaseConnectionTest.php index 1d629832bf6c..4fb68358066b 100644 --- a/tests/system/Database/BaseConnectionTest.php +++ b/tests/system/Database/BaseConnectionTest.php @@ -32,7 +32,7 @@ final class BaseConnectionTest extends CIUnitTestCase 'DBDriver' => 'MockDriver', 'DBPrefix' => 'test_', 'pConnect' => true, - 'DBDebug' => (ENVIRONMENT !== 'production'), + 'DBDebug' => true, 'charset' => 'utf8', 'DBCollat' => 'utf8_general_ci', 'swapPre' => '', @@ -50,7 +50,7 @@ final class BaseConnectionTest extends CIUnitTestCase 'DBDriver' => 'MockDriver', 'DBPrefix' => 'test_', 'pConnect' => true, - 'DBDebug' => (ENVIRONMENT !== 'production'), + 'DBDebug' => true, 'charset' => 'utf8', 'DBCollat' => 'utf8_general_ci', 'swapPre' => '', diff --git a/tests/system/Database/ConfigTest.php b/tests/system/Database/ConfigTest.php index 37ecfeb6f5e2..e5fb383bc543 100644 --- a/tests/system/Database/ConfigTest.php +++ b/tests/system/Database/ConfigTest.php @@ -32,7 +32,7 @@ final class ConfigTest extends CIUnitTestCase 'DBDriver' => 'MySQLi', 'DBPrefix' => 'test_', 'pConnect' => true, - 'DBDebug' => (ENVIRONMENT !== 'production'), + 'DBDebug' => true, 'charset' => 'utf8', 'DBCollat' => 'utf8_general_ci', 'swapPre' => '', @@ -51,7 +51,7 @@ final class ConfigTest extends CIUnitTestCase 'DBDriver' => 'SQLite3', 'DBPrefix' => 't_', 'pConnect' => false, - 'DBDebug' => (ENVIRONMENT !== 'production'), + 'DBDebug' => true, 'charset' => 'utf8', 'DBCollat' => 'utf8_general_ci', 'swapPre' => '', @@ -70,7 +70,7 @@ final class ConfigTest extends CIUnitTestCase 'DBDriver' => 'SQLite3', 'DBPrefix' => 't_', 'pConnect' => false, - 'DBDebug' => (ENVIRONMENT !== 'production'), + 'DBDebug' => true, 'charset' => 'utf8', 'DBCollat' => 'utf8_general_ci', 'swapPre' => '', @@ -89,7 +89,7 @@ final class ConfigTest extends CIUnitTestCase 'DBDriver' => 'Postgre', 'DBPrefix' => 't_', 'pConnect' => false, - 'DBDebug' => (ENVIRONMENT !== 'production'), + 'DBDebug' => true, 'charset' => 'utf8', 'DBCollat' => 'utf8_general_ci', 'swapPre' => '',