Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/03/2017 07:44:10 PM (9 years ago)
Author:
boonebgorges
Message:

Use static factory method throughout PHPUnit tests.

See #7620.

File:
1 edited

Legend:

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

    r11255 r11737  
    4343                if ( is_multisite() ) {
    4444                        $original_root_blog = bp_get_root_blog_id();
    45                         $blog_id = $this->factory->blog->create( array(
     45                        $blog_id = self::factory()->blog->create( array(
    4646                                'path' => '/path' . rand() . time() . '/',
    4747                        ) );
Note: See TracChangeset for help on using the changeset viewer.