Skip to content

Commit

Permalink
Removing extra newline that was causing EmailComponent test to fail.
Browse files Browse the repository at this point in the history
  • Loading branch information
jperras committed Aug 3, 2009
1 parent 4583873 commit 31321df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/tests/cases/libs/controller/components/email.test.php
Expand Up @@ -464,7 +464,7 @@ function testTemplates() {
HTMLBLOC;

$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->assertEqual($this->Controller->Session->read('Message.email.message'), $this->__osFix($expect));

Expand Down

0 comments on commit 31321df

Please sign in to comment.