Skip to content
Permalink
Browse files

Fixing Email test to account for whitespace changes done on view files.

  • Loading branch information...
markstory committed Nov 3, 2009
1 parent df4cd12 commit 3b3ceddfdb39b07ade8744efd099de34d7b4e346
Showing with 2 additions and 7 deletions.
  1. +2 −7 cake/tests/cases/libs/controller/components/email.test.php
@@ -408,24 +408,21 @@ function testTemplates() {
This is the body of the message
This email was sent using the CakePHP Framework, http://cakephp.org.
TEXTBLOC;
$html = <<<HTMLBLOC
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>EmailTest</title>
<title>Email Test</title>
</head>
<body>
<p> This is the body of the message</p><p> </p>
<p>This email was sent using the <a href="http://cakephp.org">CakePHP Framework</a></p>
</body>
</html>
HTMLBLOC;
$this->Controller->EmailTest->sendAs = 'text';
@@ -452,7 +449,7 @@ function testTemplates() {
<html>
<head>
<title>EmailTest</title>
<title>Email Test</title>
</head>
<body>
@@ -477,8 +474,6 @@ function testTemplates() {
This is the body of the message
This email was sent using the CakePHP Framework, http://cakephp.org.
TEXTBLOC;
$this->Controller->EmailTest->sendAs = 'text';

0 comments on commit 3b3cedd

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