File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed
Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change 431431 'count ' => 1 ,
432432 'path ' => __DIR__ . '/tests/Unit/UserTest.php ' ,
433433];
434- $ ignoreErrors [] = [
435- 'message ' => '#^Construct empty \\( \\) is not allowed \\. Use more strict comparison \\.$# ' ,
436- 'count ' => 1 ,
437- 'path ' => __DIR__ . '/tests/_support/Config/Registrar.php ' ,
438- ];
439434$ ignoreErrors [] = [
440435 'message ' => '#^Call to function model with CodeIgniter \\\\Shield \\\\Models \\\\TokenLoginModel \\: \\:class is discouraged \\.$# ' ,
441436 'count ' => 1 ,
Original file line number Diff line number Diff line change @@ -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
You can’t perform that action at this time.
0 commit comments