Commit 03e208e5 by Carsten Brandt

removed wrong test

parent 869d96ee
...@@ -62,12 +62,6 @@ class QueryTest extends SphinxTestCase ...@@ -62,12 +62,6 @@ class QueryTest extends SphinxTestCase
public function testFilterWhere() public function testFilterWhere()
{ {
// should just call where() when string is passed
$query = new Query;
$query->filterWhere('id = :id', [':id' => null]);
$this->assertEquals('id = :id', $query->where);
$this->assertEquals([':id' => null], $query->params);
// should work with hash format // should work with hash format
$query = new Query; $query = new Query;
$query->filterWhere([ $query->filterWhere([
......
...@@ -51,12 +51,6 @@ class QueryTest extends DatabaseTestCase ...@@ -51,12 +51,6 @@ class QueryTest extends DatabaseTestCase
public function testFilterWhere() public function testFilterWhere()
{ {
// should just call where() when string is passed
$query = new Query;
$query->filterWhere('id = :id', [':id' => null]);
$this->assertEquals('id = :id', $query->where);
$this->assertEquals([':id' => null], $query->params);
// should work with hash format // should work with hash format
$query = new Query; $query = new Query;
$query->filterWhere([ $query->filterWhere([
......
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