Browse Source

Fixed test break

tags/2.0.0-beta
Qiang Xue 11 years ago
parent
commit
9763086842
  1. 42
      tests/unit/framework/mail/BaseMailerTest.php

42
tests/unit/framework/mail/BaseMailerTest.php

@ -233,6 +233,7 @@ class Message extends BaseMessage
public $encoding; public $encoding;
public $_charset; public $_charset;
public $_from; public $_from;
public $_replyTo;
public $_to; public $_to;
public $_cc; public $_cc;
public $_bcc; public $_bcc;
@ -240,42 +241,83 @@ class Message extends BaseMessage
public $_textBody; public $_textBody;
public $_htmlBody; public $_htmlBody;
public function getCharset()
{
return $this->_charset;
}
public function setCharset($charset) public function setCharset($charset)
{ {
$this->_charset = $charset; $this->_charset = $charset;
return $this; return $this;
} }
public function getFrom()
{
return $this->_from;
}
public function setFrom($from) public function setFrom($from)
{ {
$this->_from = $from; $this->_from = $from;
return $this; return $this;
} }
public function getTo()
{
return $this->_to;
}
public function setTo($to) public function setTo($to)
{ {
$this->_to = $to; $this->_to = $to;
return $this; return $this;
} }
public function getCc()
{
return $this->_cc;
}
public function setCc($cc) public function setCc($cc)
{ {
$this->_cc = $cc; $this->_cc = $cc;
return $this; return $this;
} }
public function getBcc()
{
return $this->_bcc;
}
public function setBcc($bcc) public function setBcc($bcc)
{ {
$this->_bcc = $bcc; $this->_bcc = $bcc;
return $this; return $this;
} }
public function getSubject()
{
return $this->_subject;
}
public function setSubject($subject) public function setSubject($subject)
{ {
$this->_subject = $subject; $this->_subject = $subject;
return $this; return $this;
} }
public function getReplyTo()
{
return $this->_replyTo;
}
public function setReplyTo($replyTo)
{
$this->_replyTo = $replyTo;
return $this;
}
public function setTextBody($text) public function setTextBody($text)
{ {
$this->_textBody = $text; $this->_textBody = $text;

Loading…
Cancel
Save