mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-15 14:50:56 +08:00

- changed test class naming for easier copying and searching of classes - made base tests abstract and made MySQL an equal citisen in the test hierarchie - added missing db specific test classes
25 lines
529 B
PHP
25 lines
529 B
PHP
<?php
|
|
|
|
namespace yiiunit\framework\db\pgsql;
|
|
|
|
use yii\db\ColumnSchemaBuilder;
|
|
use yii\db\Schema;
|
|
|
|
/**
|
|
* ColumnSchemaBuilderTest tests ColumnSchemaBuilder for Oracle
|
|
* @group db
|
|
* @group pgsql
|
|
*/
|
|
class ColumnSchemaBuilderTest extends \yiiunit\framework\db\ColumnSchemaBuilderTest
|
|
{
|
|
/**
|
|
* @param string $type
|
|
* @param integer $length
|
|
* @return ColumnSchemaBuilder
|
|
*/
|
|
public function getColumnSchemaBuilder($type, $length = null)
|
|
{
|
|
return new ColumnSchemaBuilder($type, $length);
|
|
}
|
|
}
|