Skip to:
Content

BuddyPress.org

Changeset 8418


Ignore:
Timestamp:
05/14/2014 12:32:15 PM (12 years ago)
Author:
boonebgorges
Message:

Fix incorrect constant name when setting up phpunit constants

Fixes #5376

Props netweb

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/includes/define-constants.php

    r8415 r8418  
    2727        // Support WP_DEVELOP_DIR, as used by some plugins
    2828        if ( false !== getenv( 'WP_DEVELOP_DIR' ) ) {
    29                 define( 'WP_TESTS_DIR', getenv( 'WP_DEVELOP_DIR' ) );
     29                define( 'WP_ROOT_DIR', getenv( 'WP_DEVELOP_DIR' ) );
    3030        } else {
    3131                define( 'WP_ROOT_DIR', dirname( dirname( dirname( dirname( dirname( dirname( dirname( __DIR__ ) ) ) ) ) ) ) );
Note: See TracChangeset for help on using the changeset viewer.