Remove unnecessary cleanup code
MAILPOET-5145
This commit is contained in:
committed by
John Oleksowicz
parent
57eb438eb8
commit
c75bc388c9
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user