Remove bracelets

This commit is contained in:
Veljko
2023-07-11 12:46:45 +02:00
committed by Oluwaseun Olorunsola
parent 7f662a7077
commit 61a8e65a06

View File

@@ -30,7 +30,7 @@ class SubscriberCountShortcodeCest {
$segment = $segmentFactory->withName(self::SUBSCRIBER_LIST_NAME)->create(); $segment = $segmentFactory->withName(self::SUBSCRIBER_LIST_NAME)->create();
$subscriberFactory = new Subscriber(); $subscriberFactory = new Subscriber();
$subscriberFactory->withSegments([$segment])->create(); $subscriberFactory->withSegments([$segment])->create();
$pageContent = self::PAGE_TEXT . " [mailpoet_subscribers_count segments=\"{$segment->getId()}\"]"; $pageContent = self::PAGE_TEXT . " [mailpoet_subscribers_count segments={$segment->getId()}]";
$postUrl = $i->createPost(self::PAGE_TITLE, $pageContent); $postUrl = $i->createPost(self::PAGE_TITLE, $pageContent);
$i->login(); $i->login();
@@ -46,7 +46,7 @@ class SubscriberCountShortcodeCest {
$segmentFactory = new Segment(); $segmentFactory = new Segment();
$this->segment1 = $segmentFactory->withName(self::SUBSCRIBERS_LIST_NAME_ONE)->create(); $this->segment1 = $segmentFactory->withName(self::SUBSCRIBERS_LIST_NAME_ONE)->create();
$this->segment2 = $segmentFactory->withName(self::SUBSCRIBERS_LIST_NAME_TWO)->create(); $this->segment2 = $segmentFactory->withName(self::SUBSCRIBERS_LIST_NAME_TWO)->create();
$pageContent = self::PAGE_TEXT . " [mailpoet_subscribers_count] segments=\"{$this->segment1->getId()},{$this->segment2->getId()}\"]"; $pageContent = self::PAGE_TEXT . " [mailpoet_subscribers_count] segments={$this->segment1->getId()},{$this->segment2->getId()}]";
$postUrl = $i->createPost(self::PAGE_TITLE, $pageContent); $postUrl = $i->createPost(self::PAGE_TITLE, $pageContent);
$this->prepareSubscribersData($this->segment1, $this->segment2); $this->prepareSubscribersData($this->segment1, $this->segment2);