summaryrefslogtreecommitdiffstats
path: root/tests/Utils/QueryTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Utils/QueryTest.php')
-rw-r--r--tests/Utils/QueryTest.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/Utils/QueryTest.php b/tests/Utils/QueryTest.php
index e73696b..b3f0ab6 100644
--- a/tests/Utils/QueryTest.php
+++ b/tests/Utils/QueryTest.php
@@ -246,6 +246,14 @@ class QueryTest extends TestCase
'querytype' => 'SELECT'
)
),
+ array(
+ 'SELECT * FROM orders AS ord WHERE 1',
+ array(
+ 'querytype' => 'SELECT',
+ 'is_select' => true,
+ 'select_from' => true,
+ )
+ ),
);
}