Changeset 12712 for trunk/tests/phpunit/bootstrap.php
- Timestamp:
- 08/30/2020 05:53:06 PM (4 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:global-ignores
-
old new 1 1 .DS_Store 2 2 .gitignore 3 .wp-env.override.json
-
- Property svn:global-ignores
-
trunk/tests/phpunit/bootstrap.php
r10539 r12712 1 1 <?php 2 3 if ( defined( 'BP_USE_WP_ENV_TESTS' ) ) { 4 // wp-env setup. 5 define( 'WP_TESTS_CONFIG_FILE_PATH', dirname( __FILE__ ) . '/assets/phpunit-wp-config.php' ); 6 define( 'WP_TESTS_CONFIG_PATH', WP_TESTS_CONFIG_FILE_PATH ); 7 8 // Use WP PHPUnit. 9 require_once dirname( dirname( dirname( __FILE__ ) ) ) . '/vendor/wp-phpunit/wp-phpunit/__loaded.php'; 10 } 2 11 3 12 require( dirname( __FILE__ ) . '/includes/define-constants.php' );
Note: See TracChangeset
for help on using the changeset viewer.