Commit 82f461fd authored by Bas de Nooijer's avatar Bas de Nooijer

fixed tests

parent 8ae9804a
......@@ -126,6 +126,14 @@ class Solarium_Client_RequestTest extends PHPUnit_Framework_TestCase
);
}
public function testRenderLocalParamsWithoutParams()
{
$this->assertEquals(
'myValue',
$this->_getRequest($this->_options)->renderLocalParams('myValue')
);
}
public function testAddParamWithNewParam()
{
$request = $this->_getRequest($this->_options);
......
......@@ -54,14 +54,5 @@ class Solarium_QueryTest extends PHPUnit_Framework_TestCase
$query->escapeValue('a+b')
);
}
public function testRenderLocalParamsWithoutParams()
{
$query = new Solarium_Query();
$this->assertEquals(
'myValue',
$query->renderLocalParams('myValue')
);
}
}
\ No newline at end of file
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