From 1ce2389069629d4bc20ec1f969ecb32679f0ceb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=BCrth?= Date: Sun, 11 Jun 2017 01:02:49 +0200 Subject: [PATCH] Fix broken tests --- lib/Cake/Test/Case/Network/Email/CakeEmailTest.php | 2 +- lib/Cake/Test/Case/Network/Http/HttpSocketTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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');