diff options
Diffstat (limited to 'test/test_queries.php')
-rwxr-xr-x | test/test_queries.php | 2 |
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); |