summaryrefslogtreecommitdiffstats
path: root/tests/Parser/CreateStatementTest.php
diff options
context:
space:
mode:
authorDan Ungureanu <udan1107@gmail.com>2015-07-03 21:18:10 +0300
committerDan Ungureanu <udan1107@gmail.com>2015-07-04 23:41:52 +0300
commitb3eff80030f9bd6d90e65360eb89e18a1be298b2 (patch)
treedb420fef27f24856f4cfaeee008104fdfcb77942 /tests/Parser/CreateStatementTest.php
parent4dabcc2ae266c022e44294bfbe3344b05e66e266 (diff)
downloadsql-parser-b3eff80030f9bd6d90e65360eb89e18a1be298b2.zip
sql-parser-b3eff80030f9bd6d90e65360eb89e18a1be298b2.tar.gz
sql-parser-b3eff80030f9bd6d90e65360eb89e18a1be298b2.tar.bz2
The context depends on the SQL mode.
Implemented a few more builders. Improved some fragments and statement types. Fixed the noAlias option in FieldFragment. Reordered CREATE statements's options. Updated contexts definitions. Fixed typos. Improved tests.
Diffstat (limited to 'tests/Parser/CreateStatementTest.php')
-rw-r--r--tests/Parser/CreateStatementTest.php12
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/Parser/CreateStatementTest.php b/tests/Parser/CreateStatementTest.php
index 8f8c43a..11bfc5e 100644
--- a/tests/Parser/CreateStatementTest.php
+++ b/tests/Parser/CreateStatementTest.php
@@ -18,15 +18,17 @@ class CreateStatementTest extends TestCase
public function testCreateProvider()
{
return array(
- array('parseCreateTable'),
- array('parseCreateTable2'),
- array('parseCreateTableErr1'),
- array('parseCreateProcedure'),
- array('parseCreateProcedure2'),
array('parseCreateFunction'),
array('parseCreateFunctionErr1'),
array('parseCreateFunctionErr2'),
+ array('parseCreateProcedure'),
+ array('parseCreateProcedure2'),
+ array('parseCreateTable'),
+ array('parseCreateTable2'),
+ array('parseCreateTableErr1'),
array('parseCreateUser'),
+ array('parseCreateView'),
+ array('parseCreateView2'),
);
}
}