File: /var/www/clients/client6/web57/web/wffence/wp-cli-wordfence/tests/bootstrap.php
<?php
/**
* PHPUnit bootstrap file
*/
// Composer autoloader must be loaded before WP_PHPUNIT__DIR will be available
require_once dirname(__DIR__) . '/vendor/autoload.php';
// Give access to tests_add_filter() function.
require_once getenv('WP_PHPUNIT__DIR') . '/includes/functions.php';
tests_add_filter('muplugins_loaded', function () {
require dirname(__DIR__) . '/wp-cli-wordfence.php';
});
// Start up the WP testing environment.
require getenv('WP_PHPUNIT__DIR') . '/includes/bootstrap.php';