Removing blank line and unnecessary code
[MAILPOET-3021]
This commit is contained in:
committed by
Rostislav Wolný
parent
f80d1e4528
commit
04c293bf39
@@ -24,7 +24,6 @@ class SubscriberCountShortcodeCest {
|
|||||||
$pageText = 'Your subscriber count is';
|
$pageText = 'Your subscriber count is';
|
||||||
$pageContent = "$pageText [mailpoet_subscribers_count segments=\"$segment->id\"]";
|
$pageContent = "$pageText [mailpoet_subscribers_count segments=\"$segment->id\"]";
|
||||||
$i->cli(['post', 'create', '--post_type=page', '--post_status=publish', "--post_title=$pageTitle", "--post_content=$pageContent"]);
|
$i->cli(['post', 'create', '--post_type=page', '--post_status=publish', "--post_title=$pageTitle", "--post_content=$pageContent"]);
|
||||||
$this->prepareSubscribersData();
|
|
||||||
$i->login();
|
$i->login();
|
||||||
$i->amOnPage('/wp-admin/edit.php?post_type=page');
|
$i->amOnPage('/wp-admin/edit.php?post_type=page');
|
||||||
$i->waitForText($pageTitle);
|
$i->waitForText($pageTitle);
|
||||||
@@ -63,5 +62,4 @@ class SubscriberCountShortcodeCest {
|
|||||||
(new Subscriber())->withStatus('unsubscribed')->withSegments([$segment])->create();
|
(new Subscriber())->withStatus('unsubscribed')->withSegments([$segment])->create();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user