Changeset 5673 for trunk/tests/phpunit/includes/define-constants.php
- Timestamp:
- 04/07/2015 12:35:06 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/includes/define-constants.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/define-constants.php
r5610 r5673 53 53 die( "wp-tests-config.php could not be found.\n" ); 54 54 } 55 56 // Determine whether BuddyPress is present. 57 if ( ! defined( 'BP_TESTS_DIR' ) ) { 58 $wp_content_dir = dirname( dirname( dirname( dirname( dirname( __FILE__ ) ) ) ) ); 59 if ( file_exists( $wp_content_dir . '/buddypress/tests/phpunit/bootstrap.php' ) ) { 60 define( 'BP_TESTS_DIR', $wp_content_dir . '/buddypress/tests/phpunit' ); 61 } 62 }
Note: See TracChangeset
for help on using the changeset viewer.