fixed another test case broken by changeset 3187
This commit is contained in:
parent
01f2ee7f97
commit
8195898ff7
@ -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");
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user