1
0
mirror of synced 2025-01-31 04:21:44 +03:00

fixed another test case broken by changeset 3187

This commit is contained in:
jepso 2007-11-19 19:16:15 +00:00
parent 01f2ee7f97
commit 8195898ff7

View File

@ -172,6 +172,6 @@ class Doctrine_Search_TestCase extends Doctrine_UnitTestCase
{
$oQuery = new Doctrine_Search_Query("SearchTest");
$oQuery->query("^test");
$this->assertEqual($oQuery->getSql(), "SELECT SUM(sub_relevance) AS relevance, id FROM WHERE keyword = ? GROUP BY id ORDER BY relevance");
$this->assertEqual($oQuery->getSql(), "SELECT SUM(sub_relevance) AS relevance, id FROM WHERE keyword = ? GROUP BY id ORDER BY relevance DESC");
}
}