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/friends/notifications.php

    r9819 r11737  
    1212        parent::setUp();
    1313        $this->current_user = get_current_user_id();
    14         $this->set_current_user( $this->factory->user->create() );
     14        $this->set_current_user( self::factory()->user->create() );
    1515
    16         $this->friend = $this->factory->user->create();
     16        $this->friend = self::factory()->user->create();
    1717        $this->filter_fired = '';
    1818    }
Note: See TracChangeset for help on using the changeset viewer.