Add data cleanup after SendEmailActionTest tests

[MAILPOET-4566]
This commit is contained in:
Rostislav Wolny
2022-09-05 18:43:15 +02:00
committed by Veljko V
parent 9e1f4ab947
commit e32b06a5a8

View File

@@ -300,6 +300,11 @@ class SendEmailActionTest extends \MailPoetTest {
];
}
public function _after() {
parent::_after();
$this->cleanup();
}
private function cleanup() {
$this->truncateEntity(NewsletterEntity::class);
$this->truncateEntity(SubscriberEntity::class);