mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 19:38:26 +00:00
Merge branch '1.3-dev' into 1.3
This commit is contained in:
commit
788cae1c6f
1 changed files with 1 additions and 1 deletions
|
@ -464,7 +464,7 @@ HTMLBLOC;
|
||||||
HTMLBLOC;
|
HTMLBLOC;
|
||||||
|
|
||||||
$this->Controller->EmailTest->sendAs = 'html';
|
$this->Controller->EmailTest->sendAs = 'html';
|
||||||
$expect = '<pre>' . str_replace('{CONTENTTYPE}', 'text/html; charset=UTF-8', $header) . $html . "\n" . '</pre>';
|
$expect = '<pre>' . str_replace('{CONTENTTYPE}', 'text/html; charset=UTF-8', $header) . $html . '</pre>';
|
||||||
$this->assertTrue($this->Controller->EmailTest->send('This is the body of the message', 'default', 'thin'));
|
$this->assertTrue($this->Controller->EmailTest->send('This is the body of the message', 'default', 'thin'));
|
||||||
$this->assertEqual($this->Controller->Session->read('Message.email.message'), $this->__osFix($expect));
|
$this->assertEqual($this->Controller->Session->read('Message.email.message'), $this->__osFix($expect));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue