-
Notifications
You must be signed in to change notification settings - Fork 824
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e454db6
commit d10acbf
Showing
39 changed files
with
100 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -271,7 +271,7 @@ public function testGetSwiftMessage() | |
|
||
public function testSetSwiftMessage() | ||
{ | ||
Email::config()->update('admin_email', '[email protected]'); | ||
Email::config()->set('admin_email', '[email protected]'); | ||
DBDatetime::set_mock_now('2017-01-01 07:00:00'); | ||
$email = new Email(); | ||
$swiftMessage = new Swift_Message(); | ||
|
@@ -294,7 +294,7 @@ public function testSetSwiftMessage() | |
|
||
public function testAdminEmailApplied() | ||
{ | ||
Email::config()->update('admin_email', '[email protected]'); | ||
Email::config()->set('admin_email', '[email protected]'); | ||
$email = new Email(); | ||
|
||
$this->assertCount(1, $email->getFrom()); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,7 +39,7 @@ protected function getMailer() | |
|
||
public function testSendAllEmailsTo() | ||
{ | ||
Email::config()->update('send_all_emails_to', '[email protected]'); | ||
Email::config()->set('send_all_emails_to', '[email protected]'); | ||
$email = $this->getEmail(); | ||
$this->getMailer()->send($email->getSwiftMessage()); | ||
$headers = $email->getSwiftMessage()->getHeaders(); | ||
|
@@ -68,7 +68,7 @@ public function testSendAllEmailsTo() | |
|
||
public function testSendAllEmailsFrom() | ||
{ | ||
Email::config()->update('send_all_emails_from', '[email protected]'); | ||
Email::config()->set('send_all_emails_from', '[email protected]'); | ||
$email = $this->getEmail(); | ||
$this->getMailer()->send($email->getSwiftMessage()); | ||
|
||
|
@@ -88,7 +88,7 @@ public function testSendAllEmailsFrom() | |
|
||
public function testCCAllEmailsTo() | ||
{ | ||
Email::config()->update('cc_all_emails_to', '[email protected]'); | ||
Email::config()->set('cc_all_emails_to', '[email protected]'); | ||
$email = $this->getEmail(); | ||
$this->getMailer()->send($email->getSwiftMessage()); | ||
|
||
|
@@ -99,7 +99,7 @@ public function testCCAllEmailsTo() | |
|
||
public function testBCCAllEmailsTo() | ||
{ | ||
Email::config()->update('bcc_all_emails_to', '[email protected]'); | ||
Email::config()->set('bcc_all_emails_to', '[email protected]'); | ||
$email = $this->getEmail(); | ||
$this->getMailer()->send($email->getSwiftMessage()); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.