mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Do not redefine TestHttpSocket
This commit is contained in:
parent
077f157adf
commit
e47b26aa6b
1 changed files with 3 additions and 3 deletions
|
@ -20,11 +20,11 @@ App::uses('HttpSocket', 'Network/Http');
|
||||||
App::uses('BasicAuthentication', 'Network/Http');
|
App::uses('BasicAuthentication', 'Network/Http');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* class TestHttpSocket
|
* class TestSslHttpSocket
|
||||||
*
|
*
|
||||||
* @package Cake.Test.Case.Network.Http
|
* @package Cake.Test.Case.Network.Http
|
||||||
*/
|
*/
|
||||||
class TestHttpSocket extends HttpSocket {
|
class TestSslHttpSocket extends HttpSocket {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* testSetProxy method
|
* testSetProxy method
|
||||||
|
@ -84,7 +84,7 @@ class BasicAuthenticationTest extends CakeTestCase {
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testProxyAuthenticationSsl() {
|
public function testProxyAuthenticationSsl() {
|
||||||
$http = new TestHttpSocket();
|
$http = new TestSslHttpSocket();
|
||||||
$http->request['uri']['scheme'] = 'https';
|
$http->request['uri']['scheme'] = 'https';
|
||||||
$proxy = array(
|
$proxy = array(
|
||||||
'host' => 'localhost',
|
'host' => 'localhost',
|
||||||
|
|
Loading…
Reference in a new issue