add sqllite dummy

This commit is contained in:
Matvey Vasenin
2015-08-17 14:44:53 +03:00
parent c0c380e730
commit afda00d434
5 changed files with 125 additions and 1 deletions

View File

@@ -87,6 +87,30 @@ class SqliteQueryBuilderTest extends QueryBuilderTest
parent::testAddDropPrimaryKey();
}
public function testCommentOnColumnSchemaBuilder()
{
$this->setExpectedException('yii\base\NotSupportedException');
$this->string()->comment('comment');
}
public function testCommentColumn()
{
$qb = $this->getQueryBuilder();
$this->setExpectedException('yii\base\NotSupportedException');
$qb->addCommentOnColumn('comment', 'text', 'This is my column.');
$qb->dropCommentFromColumn('comment', 'text');
}
public function testCommentTable()
{
$qb = $this->getQueryBuilder();
$this->setExpectedException('yii\base\NotSupportedException');
$qb->addCommentOnTable('comment', 'This is my table.');
$qb->dropCommentFromTable('comment');
}
public function testBatchInsert()
{
$db = $this->getConnection();