Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Changed expectation for CakeEmail to 8bit for transport.

  • Loading branch information...
commit cdc21e46cbe81854a3d58eae2e9e7b95ad38a52a 1 parent 95737d7
Graham Weldon predominant authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/Cake/Test/Case/Network/Email/CakeEmailTest.php
8 lib/Cake/Test/Case/Network/Email/CakeEmailTest.php
View
@@ -379,7 +379,7 @@ public function testHeaders() {
'Date' => date(DATE_RFC2822),
'MIME-Version' => '1.0',
'Content-Type' => 'text/plain; charset=UTF-8',
- 'Content-Transfer-Encoding' => '7bit'
+ 'Content-Transfer-Encoding' => '8bit'
);
$this->assertIdentical($this->CakeEmail->getHeaders(), $expected);
@@ -391,7 +391,7 @@ public function testHeaders() {
'Date' => date(DATE_RFC2822),
'MIME-Version' => '1.0',
'Content-Type' => 'text/plain; charset=UTF-8',
- 'Content-Transfer-Encoding' => '7bit'
+ 'Content-Transfer-Encoding' => '8bit'
);
$this->assertIdentical($this->CakeEmail->getHeaders(), $expected);
@@ -406,7 +406,7 @@ public function testHeaders() {
'Date' => date(DATE_RFC2822),
'MIME-Version' => '1.0',
'Content-Type' => 'text/plain; charset=UTF-8',
- 'Content-Transfer-Encoding' => '7bit'
+ 'Content-Transfer-Encoding' => '8bit'
);
$this->assertIdentical($this->CakeEmail->getHeaders(array('from' => true)), $expected);
@@ -424,7 +424,7 @@ public function testHeaders() {
'Date' => date(DATE_RFC2822),
'MIME-Version' => '1.0',
'Content-Type' => 'text/plain; charset=UTF-8',
- 'Content-Transfer-Encoding' => '7bit'
+ 'Content-Transfer-Encoding' => '8bit'
);
$this->assertIdentical($this->CakeEmail->getHeaders(array('from' => true, 'to' => true)), $expected);
Please sign in to comment.
Something went wrong with that request. Please try again.