Fix polyfill path.
This commit is contained in:
parent
dfdf593be1
commit
90bae59c43
|
@ -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';
|
||||
|
|
Loading…
Reference in New Issue