From cf20923fd6f1282b90a29bce39dbd9fdd70fd1c6 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Thu, 4 Jul 2013 22:28:13 +0200 Subject: [PATCH] Postgres compat in SQLQueryTest --- 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 d3e64b827..7572f8f86 100755 --- a/tests/model/SQLQueryTest.php +++ b/tests/model/SQLQueryTest.php @@ -378,7 +378,7 @@ class SQLQueryTest extends SapphireTest { $query = new SQLQuery(); $query->setSelect(array('"Name"', '"Meta"')); $query->setFrom('"SQLQueryTest_DO"'); - $query->setOrderBy(array('MAX(Date)')); + $query->setOrderBy(array('MAX("Date")')); $query->setGroupBy(array('"Name"', '"Meta"')); $query->setLimit('1', '1');