Files
yii2/tests/framework/db/mssql/ColumnSchemaBuilderTest.php
2022-08-03 12:32:18 +03:00

31 lines
713 B
PHP

<?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yiiunit\framework\db\mssql;
use yii\db\ColumnSchemaBuilder;
/**
* ColumnSchemaBuilderTest tests ColumnSchemaBuilder for MSSQL.
* @group db
* @group mssql
*/
class ColumnSchemaBuilderTest extends \yiiunit\framework\db\ColumnSchemaBuilderTest
{
public $driverName = 'sqlsrv';
/**
* @param string $type
* @param int $length
* @return ColumnSchemaBuilder
*/
public function getColumnSchemaBuilder($type, $length = null)
{
return new ColumnSchemaBuilder($type, $length, $this->getConnection());
}
}