diff options
author | Dan Ungureanu <udan1107@gmail.com> | 2015-07-02 01:22:45 +0300 |
---|---|---|
committer | Dan Ungureanu <udan1107@gmail.com> | 2015-07-02 01:22:45 +0300 |
commit | fe199733111d7fa2eef929df39c39ee50bb55d89 (patch) | |
tree | 2094d7d916d3e27634a4bdcbb927f726830f8463 /tests/Utils/QueryTest.php | |
parent | 532ada6c8ed9eade76341dc39c99f209192d77e5 (diff) | |
download | sql-parser-fe199733111d7fa2eef929df39c39ee50bb55d89.zip sql-parser-fe199733111d7fa2eef929df39c39ee50bb55d89.tar.gz sql-parser-fe199733111d7fa2eef929df39c39ee50bb55d89.tar.bz2 |
Improved WHERE keyword parser and query's utilities.
Diffstat (limited to 'tests/Utils/QueryTest.php')
-rw-r--r-- | tests/Utils/QueryTest.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/Utils/QueryTest.php b/tests/Utils/QueryTest.php index 5bdd57f..918c5b5 100644 --- a/tests/Utils/QueryTest.php +++ b/tests/Utils/QueryTest.php @@ -294,11 +294,6 @@ class QueryTest extends TestCase $this->assertEquals(array(), Query::getAll('')); } - public function testGetClauseType() - { - $this->assertEquals('LIMIT', Query::getClauseType(' LIMIT 0, 10 ')); - } - public function testReplaceClause() { $parser = new Parser('SELECT *, (SELECT 1) FROM film LIMIT 0, 10;'); @@ -321,6 +316,7 @@ class QueryTest extends TestCase $parser->statements[0], $parser->list, 'SELECT SQL_CALC_FOUND_ROWS', + null, true ) ); |