Updating unit test to reflect that the test will fail without any addresses defined.

This commit is contained in:
meadsteve 2013-06-04 20:13:15 +01:00
commit eaac43e0e8

View file

@ -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);
}