From 76a90ffd1311152ea3dac0348a5b4cc3038c41da Mon Sep 17 00:00:00 2001 From: Steve Grunwell Date: Tue, 11 Sep 2018 19:28:20 +0000 Subject: [PATCH] Exclude the WooCommerce product importer test Based on woocommerce/woocommerce:0e785d46, the HTTP request required by `WC_Tests_Product_CSV_Importer::test_import()` was failing for earlier versions of PHP (< 7.2), and thus causing a false positive when testing WooCommerce < 3.4. --- phpunit.xml.dist | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 115cebc..75d13de 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -29,6 +29,15 @@ --> ./vendor/woocommerce/woocommerce/tests/unit-tests/api/system-status.php ./vendor/woocommerce/woocommerce/tests/unit-tests/api/v2/system-status.php + + + ./vendor/woocommerce/woocommerce/tests/unit-tests/importer/product.php