Skip to content
This repository
Browse code

Changed expectation for CakeEmail to 8bit for transport.

  • Loading branch information...
commit cdc21e46cbe81854a3d58eae2e9e7b95ad38a52a 1 parent 95737d7
Graham Weldon authored October 19, 2011
8  lib/Cake/Test/Case/Network/Email/CakeEmailTest.php
@@ -379,7 +379,7 @@ public function testHeaders() {
379 379
 			'Date' => date(DATE_RFC2822),
380 380
 			'MIME-Version' => '1.0',
381 381
 			'Content-Type' => 'text/plain; charset=UTF-8',
382  
-			'Content-Transfer-Encoding' => '7bit'
  382
+			'Content-Transfer-Encoding' => '8bit'
383 383
 		);
384 384
 		$this->assertIdentical($this->CakeEmail->getHeaders(), $expected);
385 385
 
@@ -391,7 +391,7 @@ public function testHeaders() {
391 391
 			'Date' => date(DATE_RFC2822),
392 392
 			'MIME-Version' => '1.0',
393 393
 			'Content-Type' => 'text/plain; charset=UTF-8',
394  
-			'Content-Transfer-Encoding' => '7bit'
  394
+			'Content-Transfer-Encoding' => '8bit'
395 395
 		);
396 396
 		$this->assertIdentical($this->CakeEmail->getHeaders(), $expected);
397 397
 
@@ -406,7 +406,7 @@ public function testHeaders() {
406 406
 			'Date' => date(DATE_RFC2822),
407 407
 			'MIME-Version' => '1.0',
408 408
 			'Content-Type' => 'text/plain; charset=UTF-8',
409  
-			'Content-Transfer-Encoding' => '7bit'
  409
+			'Content-Transfer-Encoding' => '8bit'
410 410
 		);
411 411
 		$this->assertIdentical($this->CakeEmail->getHeaders(array('from' => true)), $expected);
412 412
 
@@ -424,7 +424,7 @@ public function testHeaders() {
424 424
 			'Date' => date(DATE_RFC2822),
425 425
 			'MIME-Version' => '1.0',
426 426
 			'Content-Type' => 'text/plain; charset=UTF-8',
427  
-			'Content-Transfer-Encoding' => '7bit'
  427
+			'Content-Transfer-Encoding' => '8bit'
428 428
 		);
429 429
 		$this->assertIdentical($this->CakeEmail->getHeaders(array('from' => true, 'to' => true)), $expected);
430 430
 

0 notes on commit cdc21e4

Please sign in to comment.
Something went wrong with that request. Please try again.