Commit 149258eb authored by Bas de Nooijer's avatar Bas de Nooijer

Merge branch 'develop' into feature/nextgen

Conflicts:
	tests/Solarium/Tests/Client/Adapter/PeclHttpTest.php
parents 806a1ec0 c574e8c0
...@@ -64,6 +64,8 @@ class PeclHttpTest extends \PHPUnit_Framework_TestCase ...@@ -64,6 +64,8 @@ class PeclHttpTest extends \PHPUnit_Framework_TestCase
public function requestProvider() public function requestProvider()
{ {
// prevents undefined constants errors
if (function_exists('http_get')) {
$methods = array( $methods = array(
\Solarium\Client\Request::METHOD_GET => array( \Solarium\Client\Request::METHOD_GET => array(
'method' => HTTP_METH_GET, 'method' => HTTP_METH_GET,
...@@ -95,6 +97,7 @@ class PeclHttpTest extends \PHPUnit_Framework_TestCase ...@@ -95,6 +97,7 @@ class PeclHttpTest extends \PHPUnit_Framework_TestCase
return $data; return $data;
} }
}
public function testToHttpRequestWithHeaders() public function testToHttpRequestWithHeaders()
{ {
......
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