Files
yii2/tests/framework/db/mssql/ColumnSchemaBuilderTest.php
2016-08-05 02:22:46 +03:00

27 lines
588 B
PHP

<?php
namespace yiiunit\framework\db\mssql;
use yii\db\ColumnSchemaBuilder;
use yii\db\Schema;
/**
* ColumnSchemaBuilderTest tests ColumnSchemaBuilder for MSSQL
* @group db
* @group mssql
*/
class ColumnSchemaBuilderTest extends \yiiunit\framework\db\ColumnSchemaBuilderTest
{
public $driverName = 'sqlsrv';
/**
* @param string $type
* @param integer $length
* @return ColumnSchemaBuilder
*/
public function getColumnSchemaBuilder($type, $length = null)
{
return new ColumnSchemaBuilder($type, $length, $this->getConnection());
}
}