Skip to content

Commit

Permalink
Skip check conditionally
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed Oct 23, 2023
1 parent 041d528 commit 32e9f5e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Context/FeatureContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -962,8 +962,10 @@ public function create_config( $subdir = '', $extra_php = false ) {

$params['skip-salts'] = true;

// Do not check database connection as we might be running SQLite and the check would fail.
$params['skip-check'] = true;
// Do not check database connection if running SQLite as the check would fail.
if ( 'sqlite' === self::$db_type ) {
$params['skip-check'] = true;
}

if ( false !== $extra_php ) {
$params['extra-php'] = $extra_php;
Expand Down

0 comments on commit 32e9f5e

Please sign in to comment.