Browse Source

validates is not a pre condition for save anymore.

Mark Scherer 10 years ago
parent
commit
c1b4dc966e
1 changed files with 6 additions and 6 deletions
  1. 6 6
      tests/TestCase/Network/Email/EmailTest.php

+ 6 - 6
tests/TestCase/Network/Email/EmailTest.php

@@ -349,20 +349,20 @@ html-part
 		$this->Email->transport('debug');
 		$res = $this->Email->validates();
 		$this->assertFalse($res);
-		$res = $this->Email->send();
-		$this->assertFalse($res);
+		//$res = $this->Email->send();
+		//$this->assertFalse($res);
 
 		$this->Email->subject('foo');
 		$res = $this->Email->validates();
 		$this->assertFalse($res);
-		$res = $this->Email->send();
-		$this->assertFalse($res);
+		//$res = $this->Email->send();
+		//$this->assertFalse($res);
 
 		$this->Email->to('some@web.de');
 		$res = $this->Email->validates();
 		$this->assertTrue($res);
-		$res = $this->Email->send();
-		$this->assertTrue($res);
+		//$res = $this->Email->send();
+		//$this->assertTrue($res);
 	}
 
 	/**