Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/09/2013 01:05:45 AM (12 years ago)
Author:
boonebgorges
Message:

Add support for multisite.xml unit tests

File:
1 edited

Legend:

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

    r7015 r7028  
    3838    function go_to( $url ) {
    3939        // Set this for bp_core_set_uri_globals()
    40         $GLOBALS['_SERVER']['REQUEST_URI'] = $url = str_replace( network_home_url(), '', $url );
     40        $GLOBALS['_SERVER']['REQUEST_URI'] = $url = str_replace( untrailingslashit( network_home_url() ), '', $url );
    4141
    4242        // note: the WP and WP_Query classes like to silently fetch parameters
Note: See TracChangeset for help on using the changeset viewer.