Changeset 7032
- Timestamp:
- 05/09/2013 10:13:39 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/testcases/core/class-bp-core-user.php
r7024 r7032 44 44 45 45 $users = BP_Core_User::get_users( 'active', 0, 1, 0, false, false, true, $exclude_array ); 46 $user_ids = wp_ list_pluck( $users['users'], 'id');46 $user_ids = wp_parse_id_list( wp_list_pluck( $users['users'], 'id' ) ); 47 47 48 48 $this->assertEquals( array( $u2 ), $user_ids ); … … 57 57 58 58 $users = BP_Core_User::get_users( 'active', 0, 1, 0, $include_qs ); 59 $user_ids = wp_ list_pluck( $users['users'], 'id');59 $user_ids = wp_parse_id_list( wp_list_pluck( $users['users'], 'id' ) ); 60 60 61 61 $this->assertEquals( array( $u1, $u3 ), $user_ids ); … … 94 94 95 95 $users = BP_Core_User::get_specific_users( $include_array ); 96 $user_ids = wp_list_pluck( $users['users'], 'id' ); 97 98 // sort...ugh 99 sort( $user_ids ); 96 $user_ids = wp_parse_id_list( wp_list_pluck( $users['users'], 'id' ) ); 100 97 101 98 $this->assertEquals( array( $u1, $u3 ), $user_ids );
Note: See TracChangeset
for help on using the changeset viewer.