Fix polyfill path.

This commit is contained in:
vedanshujain 2021-11-12 18:54:25 +05:30
parent dfdf593be1
commit 90bae59c43
1 changed files with 1 additions and 1 deletions

View File

@ -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';