Remove unnecessary cleanup code

MAILPOET-5145
This commit is contained in:
John Oleksowicz
2023-03-30 17:57:48 -05:00
committed by John Oleksowicz
parent cd0b795ac8
commit c848c62ee9

View File

@@ -195,15 +195,6 @@ class WooCommerceCategoryTest extends \MailPoetTest {
private function cleanUp(): void {
global $wpdb;
$emails = [
'customer1@example.com',
'customer2@example.com',
'customer-on-hold@example.com',
'customer-pending-payment@example.com',
];
foreach ($emails as $email) {
$this->tester->deleteWordPressUser($email);
}
if (!empty($this->orders)) {
foreach ($this->orders as $orderId) {