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

@ -57,6 +57,7 @@ class SetupTest extends \MailPoetTest {
}
public function _after() {
parent::_after();
$this->diContainer->get(SettingsRepository::class)->truncate();
}
}