Commit 8195898f authored by jepso's avatar jepso

fixed another test case broken by changeset 3187

parent 01f2ee7f
......@@ -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");
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment