mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +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');
|
||||
|
||||
/**
|
||||
* class TestHttpSocket
|
||||
* class TestSslHttpSocket
|
||||
*
|
||||
* @package Cake.Test.Case.Network.Http
|
||||
*/
|
||||
class TestHttpSocket extends HttpSocket {
|
||||
class TestSslHttpSocket extends HttpSocket {
|
||||
|
||||
/**
|
||||
* testSetProxy method
|
||||
|
@ -84,7 +84,7 @@ class BasicAuthenticationTest extends CakeTestCase {
|
|||
* @return void
|
||||
*/
|
||||
public function testProxyAuthenticationSsl() {
|
||||
$http = new TestHttpSocket();
|
||||
$http = new TestSslHttpSocket();
|
||||
$http->request['uri']['scheme'] = 'https';
|
||||
$proxy = array(
|
||||
'host' => 'localhost',
|
||||
|
|
Loading…
Reference in a new issue