From c848c62ee9c66ae7e580f8c4c8e76d16a247c2cd Mon Sep 17 00:00:00 2001 From: John Oleksowicz Date: Thu, 30 Mar 2023 17:57:48 -0500 Subject: [PATCH] Remove unnecessary cleanup code MAILPOET-5145 --- .../DynamicSegments/Filters/WooCommerceCategoryTest.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/mailpoet/tests/integration/Segments/DynamicSegments/Filters/WooCommerceCategoryTest.php b/mailpoet/tests/integration/Segments/DynamicSegments/Filters/WooCommerceCategoryTest.php index 0fa1e37bda..60f032b38f 100644 --- a/mailpoet/tests/integration/Segments/DynamicSegments/Filters/WooCommerceCategoryTest.php +++ b/mailpoet/tests/integration/Segments/DynamicSegments/Filters/WooCommerceCategoryTest.php @@ -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) {