Skip to:
Content

BuddyPress.org


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

More improvements to path generation in blog-related unit tests

Again, we're trying to avoid duplicate paths, so that WP doesn't throw a
hissy fit when trying to use the blog factory.

File:
1 edited

Legend:

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

    r8596 r8597  
    5050            $original_root_blog = bp_get_root_blog_id();
    5151            $blog_id = $this->factory->blog->create( array(
    52                 'path' => '/path' . time() . '/',
     52                'path' => '/path' . rand() . time() . '/',
    5353            ) );
    5454            buddypress()->root_blog_id = $blog_id;
Note: See TracChangeset for help on using the changeset viewer.