ソースを参照

validates is not a pre condition for save anymore.

Mark Scherer 10 年 前
コミット
c1b4dc966e
1 ファイル変更6 行追加6 行削除
  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);
 	}
 
 	/**