diff --git a/plugins/woocommerce/tests/legacy/bootstrap.php b/plugins/woocommerce/tests/legacy/bootstrap.php index 645d839d1e8..ef29235d8bd 100644 --- a/plugins/woocommerce/tests/legacy/bootstrap.php +++ b/plugins/woocommerce/tests/legacy/bootstrap.php @@ -71,7 +71,7 @@ class WC_Unit_Tests_Bootstrap { * Load PHPUnit Polyfills for the WP testing suite. * @see https://github.com/WordPress/wordpress-develop/pull/1563/ */ - define( 'WP_TESTS_PHPUNIT_POLYFILLS_PATH', __DIR__ . '/../vendor/yoast/phpunit-polyfills/phpunitpolyfills-autoload.php' ); + define( 'WP_TESTS_PHPUNIT_POLYFILLS_PATH', __DIR__ . '/../../vendor/yoast/phpunit-polyfills/phpunitpolyfills-autoload.php' ); // load the WP testing environment. require_once $this->wp_tests_dir . '/includes/bootstrap.php';