From 7b6a617364a2570929bce8bc13ba478cb99e271f Mon Sep 17 00:00:00 2001 From: Wilmer Arambula <42547589+terabytesoftw@users.noreply.github.com> Date: Thu, 30 Oct 2025 03:44:13 -0300 Subject: [PATCH] Merge pull request #20657 from terabytesoftw/fix-sqlite-tests-3 --- tests/framework/db/sqlite/QueryBuilderTest.php | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/tests/framework/db/sqlite/QueryBuilderTest.php b/tests/framework/db/sqlite/QueryBuilderTest.php index c42c9be130..d8160bd2ab 100644 --- a/tests/framework/db/sqlite/QueryBuilderTest.php +++ b/tests/framework/db/sqlite/QueryBuilderTest.php @@ -115,12 +115,22 @@ class QueryBuilderTest extends \yiiunit\framework\db\QueryBuilderTest public function testCommentColumn(): void { - $this->markTestSkipped('Comments are not supported in SQLite'); + $this->expectException(NotSupportedException::class); + $this->expectExceptionMessage( + 'yii\db\sqlite\QueryBuilder::addCommentOnColumn is not supported by SQLite.', + ); + + parent::testCommentColumn(); } public function testCommentTable(): void { - $this->markTestSkipped('Comments are not supported in SQLite'); + $this->expectException(NotSupportedException::class); + $this->expectExceptionMessage( + 'yii\db\sqlite\QueryBuilder::addCommentOnTable is not supported by SQLite.', + ); + + parent::testCommentTable(); } public static function batchInsertProvider(): array