Skip to content

Commit

Permalink
Merge pull request zendframework#5523 in master
Browse files Browse the repository at this point in the history
  • Loading branch information
Maks3w committed Feb 23, 2014
2 parents 8dfcaa0 + 58d2e2f commit 4179c4a
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/TestConfiguration.php.dist
Expand Up @@ -241,7 +241,7 @@ defined('TESTS_ZEND_FORM_RECAPTCHA_PRIVATE_KEY') || define('TESTS_ZEND_FORM_RECA
* Zend\Http\Client tests
*
* To enable the dynamic Zend\Http\Client tests, you will need to symbolically
* link or copy the files in tests/Zend/Http/Client/_files to a directory
* link or copy the files in tests/ZendTest/Http/Client/_files to a directory
* under your web server(s) document root and set this constant to point to the
* URL of this directory.
*/
Expand Down
6 changes: 6 additions & 0 deletions tests/TestConfiguration.php.travis
Expand Up @@ -37,6 +37,12 @@ defined('TESTS_ZEND_FORM_ANNOTATION_SUPPORT') || define('TESTS_ZEND_FORM_ANNOTAT
*/
defined('TESTS_ZEND_FILTER_COMPRESS_ZIP_ENABLED') || define('TESTS_ZEND_FILTER_COMPRESS_ZIP_ENABLED', false);

/**
* Zend\Http
*/
/* Online Tests */
defined('TESTS_ZEND_HTTP_CLIENT_ONLINE') || define('TESTS_ZEND_HTTP_CLIENT_ONLINE', true);

/**
* Zend\Cache\Storage\Adapter
*/
Expand Down
4 changes: 2 additions & 2 deletions tests/ZendTest/Http/Client/SocketTest.php
Expand Up @@ -86,7 +86,7 @@ public function testConnectingViaSslEnforcesDefaultSslOptionsOnContext()
}

/**
* Test that a Zend_Config object can be used to set configuration
* Test that a Zend\Config object can be used to set configuration
*
* @link http://framework.zend.com/issues/browse/ZF-5577
*/
Expand Down Expand Up @@ -116,7 +116,7 @@ public function testSetConfigInvalidConfig($config)
{
$this->setExpectedException(
'Zend\Http\Client\Adapter\Exception\InvalidArgumentException',
'Array or Zend_Config object expected');
'Array or Zend\Config object expected');

$this->_adapter->setOptions($config);
}
Expand Down
2 changes: 1 addition & 1 deletion tests/ZendTest/Http/Client/StaticTest.php
Expand Up @@ -350,7 +350,7 @@ public function testSocketErrorException()
}
$this->setExpectedException(
'Zend\Http\Client\Adapter\Exception\RuntimeException',
'Unable to Connect to tcp://255.255.255.255:80');
'Unable to connect to 255.255.255.255:80');

// Try to connect to an invalid host
$this->_client->setUri('http://255.255.255.255');
Expand Down
@@ -1,7 +1,7 @@
POST \/ HTTP\/1\.1
Host: example\.com
Connection: close
Accept-encoding: gzip, deflate
Accept-Encoding: gzip, deflate
User-Agent: Zend_Http_Client
Content-Type: multipart\/form-data; boundary=---ZENDHTTPCLIENT-\w+
Content-Length: \d+
Expand Down

0 comments on commit 4179c4a

Please sign in to comment.