Updating unit test to reflect that the test will fail without any addresses defined.
This commit is contained in:
parent
f8407e39c8
commit
eaac43e0e8
1 changed files with 3 additions and 2 deletions
|
|
@ -76,10 +76,11 @@ class EmailTest extends \PHPUnit_Framework_TestCase
|
|||
/**
|
||||
* @covers PHPUnit::execute
|
||||
*/
|
||||
public function testExecute_ReturnsTrueWithoutArgs()
|
||||
public function testExecute_ReturnsFalseWithoutArgs()
|
||||
{
|
||||
$returnValue = $this->testedEmailPlugin->execute();
|
||||
$expectedReturn = true;
|
||||
// As no addresses will have been mailed as non are configured.
|
||||
$expectedReturn = false;
|
||||
|
||||
$this->assertEquals($expectedReturn, $returnValue);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue