Remove unnecessary cleanup code

MAILPOET-5145
This commit is contained in:
John Oleksowicz
2023-03-28 16:56:16 -05:00
committed by John Oleksowicz
parent 57eb438eb8
commit c75bc388c9
155 changed files with 13 additions and 1378 deletions

View File

@@ -4,8 +4,6 @@ namespace MailPoet\Newsletter\ViewInBrowser;
use Codeception\Stub\Expected;
use MailPoet\Entities\NewsletterEntity;
use MailPoet\Entities\NewsletterLinkEntity;
use MailPoet\Entities\ScheduledTaskEntity;
use MailPoet\Entities\SendingQueueEntity;
use MailPoet\Entities\SubscriberEntity;
use MailPoet\Newsletter\Links\Links;
@@ -234,12 +232,4 @@ class ViewInBrowserRendererTest extends \MailPoetTest {
expect($renderedBody)->stringNotContainsString('[mailpoet_open_data]');
expect($renderedBody)->stringContainsString('<img alt="" class="" src="">');
}
public function _after() {
$this->truncateEntity(NewsletterEntity::class);
$this->truncateEntity(SubscriberEntity::class);
$this->truncateEntity(ScheduledTaskEntity::class);
$this->truncateEntity(SendingQueueEntity::class);
$this->truncateEntity(NewsletterLinkEntity::class);
}
}