Commit a26a465c authored by zYne's avatar zYne

--no commit message

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