Changeset 13720 for trunk/tests/phpunit/includes/define-constants.php
- Timestamp:
- 01/31/2024 08:09:06 PM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/define-constants.php
r12853 r13720 21 21 * up the directory tree 22 22 */ 23 if ( false !== getenv( 'WP_PHPUNIT__DIR' ) && defined( 'BP_USE_WP_ENV_TESTS' ) ) { 24 define( 'WP_TESTS_DIR', getenv( 'WP_PHPUNIT__DIR' ) ); 25 define( 'WP_ROOT_DIR', '/var/www/html' ); 26 } elseif ( false !== getenv( 'WP_TESTS_DIR' ) ) { 23 if ( false !== getenv( 'WP_TESTS_DIR' ) ) { 27 24 define( 'WP_TESTS_DIR', getenv( 'WP_TESTS_DIR' ) ); 28 25 define( 'WP_ROOT_DIR', WP_TESTS_DIR );
Note: See TracChangeset
for help on using the changeset viewer.