diff --git a/tests/class/SC_SendMailTest.php b/tests/class/SC_SendMailTest.php index ea13dc3960..e4bd8a2ca1 100644 --- a/tests/class/SC_SendMailTest.php +++ b/tests/class/SC_SendMailTest.php @@ -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();