Commit 8be5a1ac authored by Gasol Wu's avatar Gasol Wu

remove testCheck

parent 6fd9c46f
...@@ -45,21 +45,6 @@ class Solarium_Client_Adapter_PeclHttpTest extends PHPUnit_Framework_TestCase ...@@ -45,21 +45,6 @@ class Solarium_Client_Adapter_PeclHttpTest extends PHPUnit_Framework_TestCase
$this->_adapter = new Solarium_Client_Adapter_PeclHttp(); $this->_adapter = new Solarium_Client_Adapter_PeclHttp();
} }
public function testCheck()
{
$data = 'data';
$headers = array('X-dummy: data');
// this should be ok, no exception
$this->_adapter->check($data, $headers);
$data = '';
$headers = array();
$this->setExpectedException('Solarium_Exception');
$this->_adapter->check($data, $headers);
}
public function testExecute() public function testExecute()
{ {
$headers = array('HTTP/1.0 200 OK'); $headers = array('HTTP/1.0 200 OK');
...@@ -80,4 +65,4 @@ class Solarium_Client_Adapter_PeclHttpTest extends PHPUnit_Framework_TestCase ...@@ -80,4 +65,4 @@ class Solarium_Client_Adapter_PeclHttpTest extends PHPUnit_Framework_TestCase
$this->assertEquals($headers,$response->getHeaders()); $this->assertEquals($headers,$response->getHeaders());
} }
} }
\ 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