diff --git a/test/UpsertTest.php b/test/UpsertTest.php index 48923d0..a356fc0 100644 --- a/test/UpsertTest.php +++ b/test/UpsertTest.php @@ -257,6 +257,10 @@ public function Upsert_works(): void private function getSQLiteConnection(): Connection { + if (!extension_loaded('sqlite')) { + self::markTestSkipped('ext-sqlite3 is required for tests'); + } + return DriverManager::getConnection([ 'url' => 'sqlite:///:memory:' ]);