Skip to:
Content

BuddyPress.org

Changeset 8376


Ignore:
Timestamp:
05/04/2014 03:44:47 PM (6 years ago)
Author:
djpaul
Message:

Grunt: fix path to WP unit tests when WP_TESTS_DIR isn't set

This should fix the fake passes that we’re seeing on Travis-CI.

This change is needed as result of the trunk re-organisation caused by
the adoption of Grunt. See #5160

File:
1 edited

Legend:

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

    r8370 r8376  
    2121    define( 'WP_ROOT_DIR', WP_TESTS_DIR );
    2222} else {
    23     define( 'WP_ROOT_DIR', dirname( dirname( dirname( dirname( dirname( dirname( __DIR__ ) ) ) ) ) ) );
     23    define( 'WP_ROOT_DIR', dirname( dirname( dirname( dirname( dirname( dirname( dirname( __DIR__ ) ) ) ) ) ) ) );
    2424    define( 'WP_TESTS_DIR', WP_ROOT_DIR . '/tests/phpunit' );
    2525}
Note: See TracChangeset for help on using the changeset viewer.