Skip to:
Content

BuddyPress.org

Changeset 8370


Ignore:
Timestamp:
05/04/2014 02:33:21 PM (6 years ago)
Author:
djpaul
Message:

Tests: fix file include paths.

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

Location:
trunk/tests/phpunit/includes
Files:
3 edited

Legend:

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

    r7665 r8370  
    55 */
    66
    7 define( 'BP_PLUGIN_DIR', dirname( dirname( dirname( __FILE__ ) ) ) . '/' );
     7define( 'BP_PLUGIN_DIR', dirname( dirname( dirname( dirname( __FILE__ ) ) ) ) . '/src/' );
    88
    99if ( ! defined( 'BP_TESTS_DIR' ) ) {
  • trunk/tests/phpunit/includes/install.php

    r8119 r8370  
    1616
    1717function _load_buddypress() {
    18     require dirname( dirname( dirname( __FILE__ ) ) ) . '/bp-loader.php';
     18    require dirname( dirname( dirname( dirname( __FILE__ ) ) ) ) . '/src/bp-loader.php';
    1919}
    2020tests_add_filter( 'muplugins_loaded', '_load_buddypress' );
    2121
    22 define( 'BP_PLUGIN_DIR', dirname( dirname( dirname( __FILE__ ) ) ) . '/' );
     22define( 'BP_PLUGIN_DIR', dirname( dirname( dirname( dirname( __FILE__ ) ) ) ) . '/src/' );
    2323define( 'BP_ROOT_BLOG', 1 );
    2424
  • trunk/tests/phpunit/includes/loader.php

    r7665 r8370  
    77
    88// Bootstrap BP
    9 require dirname( __FILE__ ) . '/../../bp-loader.php';
     9require dirname( __FILE__ ) . '/../../../src/bp-loader.php';
Note: See TracChangeset for help on using the changeset viewer.