Commit 98f3be16 authored by Andreas Möller's avatar Andreas Möller

Fix: Remove unused parameters

parent bd31d834
......@@ -551,7 +551,7 @@ class ClientTest extends \PHPUnit_Framework_TestCase
->method('getRequestBuilder')
->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);
}
......
......@@ -262,7 +262,7 @@ abstract class AbstractQueryTest extends \PHPUnit_Framework_TestCase
{
$key = 'fq1';
$fq = $this->query->createFilterQuery($key, true);
$fq = $this->query->createFilterQuery($key);
$fq->setQuery('category:1');
$this->assertEquals(
......@@ -612,7 +612,7 @@ abstract class AbstractQueryTest extends \PHPUnit_Framework_TestCase
$components = $this->query->getComponentTypes();
$components['mykey'] = 'mycomponent';
$this->query->registerComponentType('mykey', 'mycomponent', 'mybuilder', 'myparser');
$this->query->registerComponentType('mykey', 'mycomponent');
$this->assertEquals(
$components,
......
......@@ -139,7 +139,7 @@ class StatsTest extends \PHPUnit_Framework_TestCase
{
$key = 'f1';
$fld = $this->stats->createField($key, true);
$fld = $this->stats->createField($key);
$this->assertEquals(
$key,
......
......@@ -437,11 +437,9 @@ class RequestBuilderTest extends \PHPUnit_Framework_TestCase
public function testBuildRollbackXml()
{
$command = new RollbackCommand;
$this->assertEquals(
'<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