mirror of
https://github.com/yiisoft/yii2.git
synced 2026-03-11 09:53:19 +01:00
Upgraded some tests. Fixed MySQL test fixtures to create all tables with InnoDB.
This commit is contained in:
@@ -93,7 +93,7 @@ class PostgreSQLQueryBuilderTest extends QueryBuilderTest
|
||||
],
|
||||
[
|
||||
Schema::TYPE_TEXT . '(255)',
|
||||
$this->text(),
|
||||
$this->text(255),
|
||||
'text',
|
||||
],
|
||||
[
|
||||
@@ -103,7 +103,7 @@ class PostgreSQLQueryBuilderTest extends QueryBuilderTest
|
||||
],
|
||||
[
|
||||
Schema::TYPE_TEXT . '(255) CHECK (value LIKE \'test%\')',
|
||||
$this->text()->check('value LIKE \'test%\''),
|
||||
$this->text(255)->check('value LIKE \'test%\''),
|
||||
'text CHECK (value LIKE \'test%\')',
|
||||
],
|
||||
[
|
||||
@@ -113,7 +113,7 @@ class PostgreSQLQueryBuilderTest extends QueryBuilderTest
|
||||
],
|
||||
[
|
||||
Schema::TYPE_TEXT . '(255) NOT NULL',
|
||||
$this->text()->notNull(),
|
||||
$this->text(255)->notNull(),
|
||||
'text NOT NULL',
|
||||
],
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user