mirror of
https://gh.wpcy.net/https://github.com/buddypress/buddypress.git
synced 2026-05-31 05:04:29 +08:00
This commit is part of a series that will re-organise BuddyPress trunk to use a Grunt build process. See #5160 git-svn-id: https://buddypress.svn.wordpress.org/trunk@8355 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
19 lines
570 B
PHP
19 lines
570 B
PHP
<?php
|
|
|
|
require( dirname( __FILE__ ) . '/includes/define-constants.php' );
|
|
|
|
if ( ! file_exists( WP_TESTS_DIR . '/includes/functions.php' ) ) {
|
|
die( "The WordPress PHPUnit test suite could not be found.\n" );
|
|
}
|
|
|
|
require_once WP_TESTS_DIR . '/includes/functions.php';
|
|
|
|
function _install_and_load_buddypress() {
|
|
require BP_TESTS_DIR . '/includes/loader.php';
|
|
}
|
|
tests_add_filter( 'muplugins_loaded', '_install_and_load_buddypress' );
|
|
|
|
require WP_TESTS_DIR . '/includes/bootstrap.php';
|
|
|
|
// Load the BP-specific testing tools
|
|
require BP_TESTS_DIR . '/includes/testcase.php';
|