Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/11/2014 08:33:57 PM (12 years ago)
Author:
boonebgorges
Message:

Declare paths explicitly when using the blogs factory in the unit tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/testcases/url/url.php

    r8114 r8596  
    4949        if ( is_multisite() ) {
    5050            $original_root_blog = bp_get_root_blog_id();
    51             $blog_id = $this->factory->blog->create();
     51            $blog_id = $this->factory->blog->create( array(
     52                'path' => '/path' . time() . '/',
     53            ) );
    5254            buddypress()->root_blog_id = $blog_id;
    5355
Note: See TracChangeset for help on using the changeset viewer.