Correctly quote SQL in SQLQueryTest (fixes Postgresql)

This commit is contained in:
Ingo Schommer 2013-03-28 18:17:43 +01:00
parent ff3b63f2a9
commit e9d55fcaf9

View File

@ -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();