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

    r11735 r11737  
    5454         */
    5555        public function test_creator_id_should_be_fall_back_to_existing_creator_id_for_existing_group() {
    56                 $group_id = $this->factory->group->create( array(
     56                $group_id = self::factory()->group->create( array(
    5757                        'creator_id' => self::$user_id + 1,
    5858                ) );
Note: See TracChangeset for help on using the changeset viewer.