mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-06-02 21:03:32 +00:00
Fix failing tests.
This commit is contained in:
parent
240c8718eb
commit
d95ef5d5e8
2 changed files with 4 additions and 6 deletions
lib/Cake/Test/Case/Network
|
@ -336,16 +336,14 @@ class CakeSocketTest extends CakeTestCase {
|
|||
'host' => 'smtp.gmail.com',
|
||||
'port' => 465,
|
||||
'timeout' => 5,
|
||||
'request' => array(
|
||||
'context' => array(
|
||||
'ssl' => array('capture_peer' => true)
|
||||
)
|
||||
'context' => array(
|
||||
'ssl' => array('capture_peer' => true)
|
||||
)
|
||||
);
|
||||
$this->Socket = new CakeSocket($config);
|
||||
$this->Socket->connect();
|
||||
$result = $this->Socket->context();
|
||||
$this->assertEquals($config['request']['context'], $result);
|
||||
$this->assertEquals($config['context'], $result);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue