Extract customer creation/cleanup

This also ensures that cleanup always runs after all integration tests

MAILPOET-5145
This commit is contained in:
John Oleksowicz
2023-03-30 17:32:00 -05:00
committed by John Oleksowicz
parent f9d6e65ece
commit cd0b795ac8
75 changed files with 142 additions and 99 deletions

View File

@@ -77,6 +77,7 @@ class SubscriberCustomFieldTest extends \MailPoetTest {
}
public function _after() {
parent::_after();
SubscriberCustomField::deleteMany();
}
}