/var/www/html_fr/wp-content/plugins/woocommerce/vendor/woocommerce/blueprint/tests/bootstrap.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
/**
 * PHPUnit bootstrap file.
 *
 * @package Starter_Plugin
 */

require_once dirname__DIR__ ) . '/vendor/autoload.php';

$_tests_dir getenv'WP_TESTS_DIR' );

// Forward custom PHPUnit Polyfills configuration to PHPUnit bootstrap file.
$_phpunit_polyfills_path getenv'WP_TESTS_PHPUNIT_POLYFILLS_PATH' );
if ( 
false !== $_phpunit_polyfills_path ) {
    
define'WP_TESTS_PHPUNIT_POLYFILLS_PATH'$_phpunit_polyfills_path );
}

require 
'vendor/yoast/phpunit-polyfills/phpunitpolyfills-autoload.php';

// Start up the WP testing environment.
require "{$_tests_dir}/includes/bootstrap.php";