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

@@ -33,12 +33,6 @@ class InactiveSubscribersControllerTest extends \MailPoetTest {
$this->diContainer->get(EntityManager::class)
);
$this->subscribersRepository = $this->diContainer->get(SubscribersRepository::class);
$this->truncateEntity(SubscriberEntity::class);
$this->truncateEntity(ScheduledTaskEntity::class);
$this->truncateEntity(StatisticsOpenEntity::class);
$this->truncateEntity(ScheduledTaskSubscriberEntity::class);
$this->truncateEntity(SendingQueueEntity::class);
$this->truncateEntity(NewsletterEntity::class);
$this->entityManager->getConnection()->executeQuery('DROP TABLE IF EXISTS inactive_task_ids');
$this->newsletter = new NewsletterEntity();
$this->newsletter->setSubject('Subject');