Add data cleanup after SendEmailActionTest tests
[MAILPOET-4566]
This commit is contained in:
committed by
Veljko V
parent
9e1f4ab947
commit
e32b06a5a8
@@ -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);
|
||||
|
Reference in New Issue
Block a user