Merge pull request #20657 from terabytesoftw/fix-sqlite-tests-3

This commit is contained in:
Wilmer Arambula
2025-10-30 03:44:13 -03:00
committed by GitHub
parent 0292de23b8
commit 7b6a617364

View File

@@ -115,12 +115,22 @@ class QueryBuilderTest extends \yiiunit\framework\db\QueryBuilderTest
public function testCommentColumn(): void 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 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 public static function batchInsertProvider(): array