summaryrefslogtreecommitdiffstats
path: root/tests/Builder/StatementTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Builder/StatementTest.php')
-rw-r--r--tests/Builder/StatementTest.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/Builder/StatementTest.php b/tests/Builder/StatementTest.php
index 0a65aac..29163d1 100644
--- a/tests/Builder/StatementTest.php
+++ b/tests/Builder/StatementTest.php
@@ -2,7 +2,6 @@
namespace SqlParser\Tests\Builder;
-use SqlParser\Builder;
use SqlParser\Fragments\OptionsFragment;
use SqlParser\Fragments\FieldFragment;
use SqlParser\Fragments\WhereKeyword;
@@ -33,8 +32,8 @@ class StatementTest extends TestCase
$stmt->limit = new LimitKeyword(1, 10);
$this->assertEquals(
- 'SELECT DISTINCT sakila.film.film_id AS fid, COUNT(film_id) ' .
- 'FROM film, actor ' .
+ 'SELECT DISTINCT `sakila`.`film`.`film_id` AS `fid`, COUNT(film_id) ' .
+ 'FROM `film`, `actor` ' .
'WHERE film_id > 10 OR actor.age > 25 ' .
'LIMIT 10, 1 ',
$stmt->build()