Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/03/2017 07:44:10 PM (7 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/activity/filters.php

    r10960 r11737  
    1010     */
    1111    public function test_bp_activity_at_name_filter() {
    12         $u1 = $this->factory->user->create( array(
     12        $u1 = self::factory()->user->create( array(
    1313            'user_login' => 'foobarbaz',
    1414            'user_nicename' => 'foobarbaz',
    1515        ) );
    1616
    17         $u2 = $this->factory->user->create( array(
     17        $u2 = self::factory()->user->create( array(
    1818            'user_login' => 'foo2',
    1919            'user_nicename' => 'foo2',
Note: See TracChangeset for help on using the changeset viewer.