summaryrefslogtreecommitdiff
path: root/test/test_queries.php
diff options
context:
space:
mode:
authorSimon Holywell <[email protected]>2013-01-18 10:54:21 +0000
committerSimon Holywell <[email protected]>2013-01-18 10:54:21 +0000
commitf9a6f92e3e38a4235438c14d5e1c205f331133ee (patch)
tree08210f45edfeea7105642b52e1cffcae5584c75b /test/test_queries.php
parentef2e9078dfc23d1b14b25b8d0d22206ef61d5167 (diff)
Move more query tests over to PHPUnit
Diffstat (limited to 'test/test_queries.php')
-rwxr-xr-xtest/test_queries.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_queries.php b/test/test_queries.php
index 8580fd6..c9f5c84 100755
--- a/test/test_queries.php
+++ b/test/test_queries.php
@@ -104,6 +104,8 @@
$expected = "SELECT * FROM `widget` ORDER BY `name` ASC, `age` DESC LIMIT 1";
Tester::check_equal("Multiple ORDER BY", $expected);
+ ///////////////////////////////////////////
+
ORM::for_table('widget')->group_by('name')->find_many();
$expected = "SELECT * FROM `widget` GROUP BY `name`";
Tester::check_equal("GROUP BY", $expected);