safety guards for objects which di not set the intern pointer automatically
[m6w6/ext-http] / phpunit / DataShareTest.php
index f4a0453c6163c1d968b7ec5c5650774a879a08a5..6518ce129e771ecd04664bcdc0bb38a63bd9644d 100644 (file)
@@ -44,7 +44,7 @@ class DataShareTest extends PHPUnit_Framework_TestCase
     }
     
     function testCurl() {
-       $client = new http\Curl\Client;
+       $client = new http\Curl\Client(array("connecttimeout" => 10));
        $client->setRequest(new http\Client\Request("GET", "https://twitter.com/"));
        $share = new http\Curl\Client\DataShare;
        $share->ssl = $share->dns = $share->cookie = true;