Skip to content

Commit 3711b14

Browse files
authored
Merge pull request #7922 from kenjis/test-DBDebug-true
test: change DBDebug to true
2 parents a42b84f + 6f99752 commit 3711b14

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

tests/system/Database/BaseConnectionTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ final class BaseConnectionTest extends CIUnitTestCase
3232
'DBDriver' => 'MockDriver',
3333
'DBPrefix' => 'test_',
3434
'pConnect' => true,
35-
'DBDebug' => (ENVIRONMENT !== 'production'),
35+
'DBDebug' => true,
3636
'charset' => 'utf8',
3737
'DBCollat' => 'utf8_general_ci',
3838
'swapPre' => '',
@@ -50,7 +50,7 @@ final class BaseConnectionTest extends CIUnitTestCase
5050
'DBDriver' => 'MockDriver',
5151
'DBPrefix' => 'test_',
5252
'pConnect' => true,
53-
'DBDebug' => (ENVIRONMENT !== 'production'),
53+
'DBDebug' => true,
5454
'charset' => 'utf8',
5555
'DBCollat' => 'utf8_general_ci',
5656
'swapPre' => '',

tests/system/Database/ConfigTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ final class ConfigTest extends CIUnitTestCase
3232
'DBDriver' => 'MySQLi',
3333
'DBPrefix' => 'test_',
3434
'pConnect' => true,
35-
'DBDebug' => (ENVIRONMENT !== 'production'),
35+
'DBDebug' => true,
3636
'charset' => 'utf8',
3737
'DBCollat' => 'utf8_general_ci',
3838
'swapPre' => '',
@@ -51,7 +51,7 @@ final class ConfigTest extends CIUnitTestCase
5151
'DBDriver' => 'SQLite3',
5252
'DBPrefix' => 't_',
5353
'pConnect' => false,
54-
'DBDebug' => (ENVIRONMENT !== 'production'),
54+
'DBDebug' => true,
5555
'charset' => 'utf8',
5656
'DBCollat' => 'utf8_general_ci',
5757
'swapPre' => '',
@@ -70,7 +70,7 @@ final class ConfigTest extends CIUnitTestCase
7070
'DBDriver' => 'SQLite3',
7171
'DBPrefix' => 't_',
7272
'pConnect' => false,
73-
'DBDebug' => (ENVIRONMENT !== 'production'),
73+
'DBDebug' => true,
7474
'charset' => 'utf8',
7575
'DBCollat' => 'utf8_general_ci',
7676
'swapPre' => '',
@@ -89,7 +89,7 @@ final class ConfigTest extends CIUnitTestCase
8989
'DBDriver' => 'Postgre',
9090
'DBPrefix' => 't_',
9191
'pConnect' => false,
92-
'DBDebug' => (ENVIRONMENT !== 'production'),
92+
'DBDebug' => true,
9393
'charset' => 'utf8',
9494
'DBCollat' => 'utf8_general_ci',
9595
'swapPre' => '',

0 commit comments

Comments
 (0)