mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-06 11:32:40 +00:00
Merge branch '2.0' of github.com:cakephp/cakephp into 2.0
This commit is contained in:
commit
3bb8833d82
2 changed files with 2 additions and 2 deletions
|
@ -339,7 +339,6 @@ class ComponentTest extends CakeTestCase {
|
|||
|
||||
$this->assertInstanceOf('SomethingWithEmailComponent', $Controller->SomethingWithEmail);
|
||||
$this->assertInstanceOf('EmailComponent', $Controller->SomethingWithEmail->Email);
|
||||
$this->assertInstanceOf('ComponentTestController', $Controller->SomethingWithEmail->Email->Controller);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -225,10 +225,11 @@ class StmpProtocolTest extends CakeTestCase {
|
|||
$data .= "To: CakePHP <cake@cakephp.org>\r\n";
|
||||
$data .= "Cc: Mark Story <mark@cakephp.org>, Juan Basso <juan@cakephp.org>\r\n";
|
||||
$data .= "Bcc: phpnut@cakephp.org\r\n";
|
||||
$data .= "X-Mailer: CakePHP Email Component\r\n";
|
||||
$data .= "X-Mailer: CakePHP Email\r\n";
|
||||
$data .= "Date: " . date(DATE_RFC2822) . "\r\n";
|
||||
$data .= "Message-ID: <4d9946cf-0a44-4907-88fe-1d0ccbdd56cb@localhost>\r\n";
|
||||
$data .= "Subject: Testing SMTP\r\n";
|
||||
$data .= "MIME-Version: 1.0\r\n";
|
||||
$data .= "Content-Type: text/plain; charset=UTF-8\r\n";
|
||||
$data .= "Content-Transfer-Encoding: 7bit\r\n";
|
||||
$data .= "\r\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue