Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/17/2014 08:06:05 AM (11 years ago)
Author:
r-a-y
Message:

Tests: Always fetch directory pages when using go_to() method.

This ensures that BP's directory pages are always fetched to further
ensure that the go_to() method emulates a regular BP page bootstrap.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/includes/testcase.php

    r7860 r7909  
    160160        // For BuddyPress, James.
    161161        $GLOBALS['bp']->loggedin_user = NULL;
     162        $GLOBALS['bp']->pages = bp_core_get_directory_pages();
    162163        do_action( 'bp_init' );
    163164    }
Note: See TracChangeset for help on using the changeset viewer.