Upgraded some tests. Fixed MySQL test fixtures to create all tables with InnoDB.

This commit is contained in:
Chris Harris
2016-02-22 04:53:14 -08:00
parent 201a8baac1
commit 3761682edf
8 changed files with 331 additions and 85 deletions

View File

@@ -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',
],
[