diff --git a/lib/Cake/Test/Case/Network/Email/CakeEmailTest.php b/lib/Cake/Test/Case/Network/Email/CakeEmailTest.php index e141c4df5..4ea1b6159 100644 --- a/lib/Cake/Test/Case/Network/Email/CakeEmailTest.php +++ b/lib/Cake/Test/Case/Network/Email/CakeEmailTest.php @@ -2341,7 +2341,7 @@ class CakeEmailTest extends CakeTestCase { $this->CakeEmail->config(array('empty')); $result = $this->CakeEmail->send($message); $expected = "' . str_repeat('x', CakeEmail::LINE_LENGTH_MUST - 26) . "\r\n" . - str_repeat('x', 26) . "\r\n\r\n\r\n"; + str_repeat('x', 27) . "\r\n\r\n\r\n"; $this->assertEquals($expected, $result['message']); $this->assertLineLengths($result['message']); diff --git a/lib/Cake/Test/Case/Network/Http/HttpSocketTest.php b/lib/Cake/Test/Case/Network/Http/HttpSocketTest.php index 68dc31b6b..8332d82ab 100644 --- a/lib/Cake/Test/Case/Network/Http/HttpSocketTest.php +++ b/lib/Cake/Test/Case/Network/Http/HttpSocketTest.php @@ -994,7 +994,7 @@ class HttpSocketTest extends CakeTestCase { $this->Socket->config['request']['uri']['host'] = 'bakery.cakephp.org'; $url = $this->Socket->url(); - $this->assertEquals('https://bakery.cakephp.org/', $url); + $this->assertEquals('http://bakery.cakephp.org/', $url); $this->Socket->configUri('http://www.cakephp.org'); $url = $this->Socket->url('/search?q=bar');