Remove a redundant condition, fix a typo in a test name [MAILPOET-880]

This commit is contained in:
Alexey Stoletniy
2017-05-01 11:20:33 +03:00
parent 4e76286b44
commit 40a3487d3d
2 changed files with 3 additions and 3 deletions

View File

@ -159,7 +159,7 @@ class ShortcodesTest extends MailPoetTest {
expect($result[0])->false();
}
function testSubscriberFirstAndLastNameShortcodesReturnDefaultValueWhenDataIsEpty() {
function testSubscriberFirstAndLastNameShortcodesReturnDefaultValueWhenDataIsEmpty() {
// when subscriber exists but first or last names are empty, default value is returned
$subscriber = $this->subscriber;
$subscriber->first_name = '';