Skip to content

Commit 82cd428

Browse files
committed
Don't test connection when using sqlite
1 parent 32f9287 commit 82cd428

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Context/FeatureContext.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1123,6 +1123,10 @@ public function create_db(): void {
11231123
* Test if the database connection is working.
11241124
*/
11251125
public function test_connection(): void {
1126+
if ( 'sqlite' === self::$db_type ) {
1127+
return;
1128+
}
1129+
11261130
$sql_result = self::run_sql(
11271131
'mysql --no-defaults',
11281132
[

0 commit comments

Comments
 (0)