mirror of
https://github.com/yiisoft/yii2.git
synced 2025-12-13 01:41:42 +08:00
Merge pull request #20657 from terabytesoftw/fix-sqlite-tests-3
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user