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/core/functions.php

    r11097 r11737  
    701701
    702702                if ( is_multisite() ) {
    703                         $b = $this->factory->blog->create();
     703                        $b = self::factory()->blog->create();
    704704                        switch_to_blog( $b );
    705705                }
Note: See TracChangeset for help on using the changeset viewer.