Commit 20435f32 authored by Bas de Nooijer's avatar Bas de Nooijer Committed by GitHub

Merge pull request #514 from localheinz/fix/parameter-count

Fix: Remove unused parameters
parents bd31d834 98f3be16
...@@ -551,7 +551,7 @@ class ClientTest extends \PHPUnit_Framework_TestCase ...@@ -551,7 +551,7 @@ class ClientTest extends \PHPUnit_Framework_TestCase
->method('getRequestBuilder') ->method('getRequestBuilder')
->will($this->returnValue($observer)); ->will($this->returnValue($observer));
$this->client->registerQueryType('testquerytype', 'Solarium\QueryType\Select\Query\Query', $observer, ''); $this->client->registerQueryType('testquerytype', 'Solarium\QueryType\Select\Query\Query');
$this->client->createRequest($queryStub); $this->client->createRequest($queryStub);
} }
......
...@@ -262,7 +262,7 @@ abstract class AbstractQueryTest extends \PHPUnit_Framework_TestCase ...@@ -262,7 +262,7 @@ abstract class AbstractQueryTest extends \PHPUnit_Framework_TestCase
{ {
$key = 'fq1'; $key = 'fq1';
$fq = $this->query->createFilterQuery($key, true); $fq = $this->query->createFilterQuery($key);
$fq->setQuery('category:1'); $fq->setQuery('category:1');
$this->assertEquals( $this->assertEquals(
...@@ -612,7 +612,7 @@ abstract class AbstractQueryTest extends \PHPUnit_Framework_TestCase ...@@ -612,7 +612,7 @@ abstract class AbstractQueryTest extends \PHPUnit_Framework_TestCase
$components = $this->query->getComponentTypes(); $components = $this->query->getComponentTypes();
$components['mykey'] = 'mycomponent'; $components['mykey'] = 'mycomponent';
$this->query->registerComponentType('mykey', 'mycomponent', 'mybuilder', 'myparser'); $this->query->registerComponentType('mykey', 'mycomponent');
$this->assertEquals( $this->assertEquals(
$components, $components,
......
...@@ -139,7 +139,7 @@ class StatsTest extends \PHPUnit_Framework_TestCase ...@@ -139,7 +139,7 @@ class StatsTest extends \PHPUnit_Framework_TestCase
{ {
$key = 'f1'; $key = 'f1';
$fld = $this->stats->createField($key, true); $fld = $this->stats->createField($key);
$this->assertEquals( $this->assertEquals(
$key, $key,
......
...@@ -437,11 +437,9 @@ class RequestBuilderTest extends \PHPUnit_Framework_TestCase ...@@ -437,11 +437,9 @@ class RequestBuilderTest extends \PHPUnit_Framework_TestCase
public function testBuildRollbackXml() public function testBuildRollbackXml()
{ {
$command = new RollbackCommand;
$this->assertEquals( $this->assertEquals(
'<rollback/>', '<rollback/>',
$this->builder->buildRollbackXml($command) $this->builder->buildRollbackXml()
); );
} }
......
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