summaryrefslogtreecommitdiff
path: root/core/tests
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-02-08 20:01:15 +0000
committerBharat Mediratta <bharat@menalto.com>2009-02-08 20:01:15 +0000
commitb31c79a71f37bcbe221033e1e664d5feb17e0a42 (patch)
tree4e4a5cfe0898c27f13b045eb0c4b5118b042d978 /core/tests
parent0f13f126386d7b1a01fc86ce6888de067b1fd21d (diff)
Fix a bug that I think I introduced in my last sendmail refactor where
I inverted the expectations on the result from mail() causing image uploads to fail (even though the mail gets sent!)
Diffstat (limited to 'core/tests')
-rw-r--r--core/tests/Sendmail_Test.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/tests/Sendmail_Test.php b/core/tests/Sendmail_Test.php
index 4e813b16..777fea55 100644
--- a/core/tests/Sendmail_Test.php
+++ b/core/tests/Sendmail_Test.php
@@ -110,5 +110,6 @@ class Sendmail_For_Test extends Sendmail {
public function mail($to, $subject, $message, $headers) {
$this->send_text = "To: $to\r\n{$headers}\r\nSubject: $this->subject\r\n\r\n$message";
+ return true;
}
} \ No newline at end of file