Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix failing tests.

  • Loading branch information...
commit d95ef5d5e861de0bf34009a7ed9888732b23a40c 1 parent 240c871
@markstory markstory authored
View
8 lib/Cake/Test/Case/Network/CakeSocketTest.php
@@ -336,16 +336,14 @@ public function testGetContext() {
'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);
}
}
View
2  lib/Cake/Test/Case/Utility/FolderTest.php
@@ -640,7 +640,7 @@ public function testFind() {
$this->assertSame(array_diff($expected, $result), array());
$result = $Folder->find('.*', true);
- $expected = array('config.php', 'routes.php');
+ $expected = array('cacert.pem', 'config.php', 'routes.php');
$this->assertSame($expected, $result);
$result = $Folder->find('.*\.php');
Please sign in to comment.
Something went wrong with that request. Please try again.