Skip to content
Permalink
Browse files

Removing extra newline that was causing EmailComponent test to fail.

  • Loading branch information...
jperras committed Aug 3, 2009
1 parent 4583873 commit 31321df6ce451fea97aa6c90d08b93e6d053465f
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/tests/cases/libs/controller/components/email.test.php
@@ -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));

0 comments on commit 31321df

Please sign in to comment.
You can’t perform that action at this time.