Postgres compat in SQLQueryTest

This commit is contained in:
Ingo Schommer 2013-07-04 22:28:13 +02:00
parent 2a4fd90316
commit cf20923fd6

View File

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