Skip to content

Commit

Permalink
Changed expectation for CakeEmail to 8bit for transport.
Browse files Browse the repository at this point in the history
  • Loading branch information
predominant committed Oct 19, 2011
1 parent 95737d7 commit cdc21e4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/Cake/Test/Case/Network/Email/CakeEmailTest.php
Expand Up @@ -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);

Expand All @@ -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);

Expand All @@ -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);

Expand All @@ -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);

Expand Down

0 comments on commit cdc21e4

Please sign in to comment.