Skip to:
Content

BuddyPress.org

Changeset 9655


Ignore:
Timestamp:
03/28/2015 04:04:33 PM (4 years ago)
Author:
boonebgorges
Message:

Allow the creation of group mods in BP_UnitTestCase::add_user_to_group().

See #6327.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/includes/testcase.php

    r9481 r9655  
    310310            'is_confirmed'  => 1,
    311311            'is_admin'      => 0,
     312            'is_mod'        => 0,
    312313            'invite_sent'   => 0,
    313314            'inviter_id'    => 0,
     
    319320        $new_member->inviter_id    = 0;
    320321        $new_member->is_admin      = $r['is_admin'];
     322        $new_member->is_mod        = $r['is_mod'];
    321323        $new_member->user_title    = '';
    322324        $new_member->date_modified = $r['date_modified'];
Note: See TracChangeset for help on using the changeset viewer.