From 90c83cd2d831784e25d0cd64bd16a17d93adff6e Mon Sep 17 00:00:00 2001 From: Vladimir Reznichenko Date: Wed, 11 Sep 2024 09:05:05 +0200 Subject: [PATCH] Revert "PHPUnit: clear action scheduler jobs between tests." This reverts commit 25d075c692b8dfd9d8e35ea63a696245d67c162a. --- .../tests/legacy/framework/class-wc-unit-test-case.php | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/woocommerce/tests/legacy/framework/class-wc-unit-test-case.php b/plugins/woocommerce/tests/legacy/framework/class-wc-unit-test-case.php index adeae7e4116..78b5161971b 100644 --- a/plugins/woocommerce/tests/legacy/framework/class-wc-unit-test-case.php +++ b/plugins/woocommerce/tests/legacy/framework/class-wc-unit-test-case.php @@ -106,7 +106,6 @@ class WC_Unit_Test_Case extends WP_HTTP_TestCase { parent::tearDown(); remove_filter( 'woocommerce_geolocate_ip', array( $this, 'intercept_woocommerce_geolocate_ip' ), 10, 3 ); - WC_Helper_Queue::cancel_all_pending(); } /**