Skip to:
Content

BuddyPress.org

Changeset 12276


Ignore:
Timestamp:
11/05/2018 10:03:29 PM (6 years ago)
Author:
boonebgorges
Message:

Fix another PHP 5.3 syntax error after [12273].

See #7476.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/testcases/groups/class-bp-groups-member.php

    r12275 r12276  
    14891489
    14901490        $new_group_members = BP_Groups_Member::get_group_administrator_ids( $new_group );
    1491         $this->assertSame( [ $admin_user ], wp_list_pluck( $new_group_members, 'user_id' ) );
     1491        $this->assertSame( array( $admin_user ), wp_list_pluck( $new_group_members, 'user_id' ) );
    14921492
    14931493        $g0_members = BP_Groups_Member::get_group_administrator_ids( self::$group_ids[0] );
    1494         $this->assertSame( [ self::$user_ids[3] ], wp_list_pluck( $g0_members, 'user_id' ) );
     1494        $this->assertSame( array( self::$user_ids[3] ), wp_list_pluck( $g0_members, 'user_id' ) );
    14951495
    14961496        $g1_members = BP_Groups_Member::get_group_administrator_ids( self::$group_ids[1] );
    1497         $this->assertSame( [ self::$user_ids[3] ], wp_list_pluck( $g1_members, 'user_id' ) );
     1497        $this->assertSame( array( self::$user_ids[3] ), wp_list_pluck( $g1_members, 'user_id' ) );
    14981498    }
    14991499}
Note: See TracChangeset for help on using the changeset viewer.