Fix failing tests.

This commit is contained in:
mark_story 2012-11-11 21:57:52 -05:00
parent 240c8718eb
commit d95ef5d5e8
2 changed files with 4 additions and 6 deletions
lib/Cake/Test/Case/Network

View file

@ -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);
}
}