Skip to content

Commit

Permalink
test: replace empty()
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Apr 9, 2024
1 parent 4b2175c commit 38ffdde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/_support/Config/Registrar.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public static function Database()

// Under GitHub Actions, we can set an ENV var named 'DB'
// so that we can test against multiple databases.
if (($group = getenv('DB')) && ! empty(self::$dbConfig[$group])) {
if (($group = getenv('DB')) && isset(self::$dbConfig[$group])) {
$config['tests'] = self::$dbConfig[$group];
}

Expand Down

0 comments on commit 38ffdde

Please sign in to comment.