Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nanasess committed Oct 30, 2019
1 parent 7bc6a51 commit b5b6c50
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/class/SC_SendMailTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,12 @@ public function testGetRecip()

public function testGetBackendParams()
{
$this->expected = [];
$this->objQuery->update('dtb_baseinfo', ['email04' => 'test@example.com']);
$objDb = new SC_Helper_DB_Ex();
$objSite = $objDb->sfGetBasisData();
$this->expected = [
'-f '.$objSite['email04']
];
$this->actual = $this->objSendMail->getBackendParams('mail');
$this->verify();

Expand Down

0 comments on commit b5b6c50

Please sign in to comment.