Remove usage old model from FormsResponseBuilderTest

[MAILPOET-3032]
This commit is contained in:
Jan Lysý
2021-04-07 08:22:33 +02:00
committed by Veljko V
parent 24264544ec
commit 3d5905c288

View File

@ -4,7 +4,7 @@ namespace MailPoet\API\JSON\ResponseBuilders;
use MailPoet\DI\ContainerWrapper;
use MailPoet\Entities\FormEntity;
use MailPoet\Models\StatisticsForms;
use MailPoet\Entities\StatisticsFormEntity;
use MailPoetVendor\Doctrine\ORM\EntityManager;
class FormsResponseBuilderTest extends \MailPoetTest {
@ -56,7 +56,7 @@ class FormsResponseBuilderTest extends \MailPoetTest {
public function _after() {
$this->truncateEntity(FormEntity::class);
StatisticsForms::deleteMany();
$this->truncateEntity(StatisticsFormEntity::class);
}
private function createForm($name) {