1
0
mirror of synced 2024-12-13 14:56:01 +03:00
This commit is contained in:
zYne 2007-08-02 12:07:56 +00:00
parent 97ca7c9c36
commit a26a465cfb

View File

@ -252,6 +252,7 @@ class Doctrine_Search_Query_TestCase extends Doctrine_UnitTestCase
. 'AND (position + 2) = (SELECT position FROM search_test_index WHERE keyword = ?) '
. 'GROUP BY search_test_id ORDER BY relevance';
$this->assertEqual($q->getParams(), array('doctrine', 'orm', 'dbal'));
$this->assertEqual($q->getSql(), $sql);
}
@ -309,6 +310,7 @@ class Doctrine_Search_Query_TestCase extends Doctrine_UnitTestCase
. 'AND (position + 1) = (SELECT position FROM search_test_index WHERE keyword = ?)) '
. 'GROUP BY search_test_id ORDER BY relevance';
$this->assertEqual($q->getParams(), array('doctrine', 'orm', 'database'));
$this->assertEqual($q->getSql(), $sql);
}