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

@@ -12,7 +12,6 @@ class StatisticsFormsRepositoryTest extends \MailPoetTest {
public function _before() {
parent::_before();
$this->cleanup();
$this->repository = $this->diContainer->get(StatisticsFormsRepository::class);
}
@@ -81,10 +80,4 @@ class StatisticsFormsRepositoryTest extends \MailPoetTest {
$this->entityManager->flush();
return $form;
}
private function cleanup(): void {
$this->truncateEntity(StatisticsFormEntity::class);
$this->truncateEntity(FormEntity::class);
$this->truncateEntity(SubscriberEntity::class);
}
}