Remove unnecessary cleanup code
MAILPOET-5145
This commit is contained in:
committed by
John Oleksowicz
parent
cd0b795ac8
commit
c848c62ee9
@@ -195,15 +195,6 @@ class WooCommerceCategoryTest extends \MailPoetTest {
|
|||||||
|
|
||||||
private function cleanUp(): void {
|
private function cleanUp(): void {
|
||||||
global $wpdb;
|
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)) {
|
if (!empty($this->orders)) {
|
||||||
foreach ($this->orders as $orderId) {
|
foreach ($this->orders as $orderId) {
|
||||||
|
Reference in New Issue
Block a user