From e9d55fcaf98d56213409dc24547b778e6b2705dc Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Thu, 28 Mar 2013 18:17:43 +0100 Subject: [PATCH] Correctly quote SQL in SQLQueryTest (fixes Postgresql) --- tests/model/SQLQueryTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/model/SQLQueryTest.php b/tests/model/SQLQueryTest.php index 45a1f2b8c..ac5058627 100755 --- a/tests/model/SQLQueryTest.php +++ b/tests/model/SQLQueryTest.php @@ -374,7 +374,7 @@ class SQLQueryTest extends SapphireTest { public function testAggregate() { $query = new SQLQuery(); $query->setFrom('"SQLQueryTest_DO"'); - $query->setGroupBy("Common"); + $query->setGroupBy('"Common"'); $queryClone = $query->aggregate('COUNT(*)', 'cnt'); $result = $queryClone->execute();