Commit 8ae9804a authored by Bas de Nooijer's avatar Bas de Nooijer

fixed test

parent 3afb5e9d
...@@ -119,11 +119,10 @@ class Solarium_Client_RequestTest extends PHPUnit_Framework_TestCase ...@@ -119,11 +119,10 @@ class Solarium_Client_RequestTest extends PHPUnit_Framework_TestCase
public function testRenderLocalParams() public function testRenderLocalParams()
{ {
$myParams = array('tag' => 'mytag', 'ex' => array('exclude1','exclude2')); $myParams = array('tag' => 'mytag', 'ex' => array('exclude1','exclude2'));
$query = new Solarium_Query();
$this->assertEquals( $this->assertEquals(
'{!tag=mytag ex=myexclude1,exclude2}myValue', '{!tag=mytag ex=myexclude1,exclude2}myValue',
$query->renderLocalParams('myValue', $myParams) $this->_getRequest($this->_options)->renderLocalParams('myValue', $myParams)
); );
} }
......
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