Ticket #5201: 5201.diff
File 5201.diff, 1.8 KB (added by , 11 years ago) |
---|
-
tests/testcases/core/class-bp-core-user.php
14 14 parent::tearDown(); 15 15 } 16 16 17 /** 18 * @expectedDeprecated BP_Core_User::get_users 19 */ 17 20 public function test_get_users_with_exclude_querystring() { 18 21 $u1 = $this->create_user(); 19 22 $u2 = $this->create_user(); … … 27 30 $this->assertEquals( array( $u2 ), $user_ids ); 28 31 } 29 32 33 /** 34 * @expectedDeprecated BP_Core_User::get_users 35 */ 30 36 public function test_get_users_with_exclude_array() { 31 37 $u1 = $this->create_user(); 32 38 $u2 = $this->create_user(); … … 44 50 $this->assertEquals( array( $u2 ), $user_ids ); 45 51 } 46 52 53 /** 54 * @expectedDeprecated BP_Core_User::get_users 55 */ 47 56 public function test_get_users_with_include_querystring() { 48 57 $u1 = $this->create_user( array( 49 58 'last_activity' => gmdate( 'Y-m-d H:i:s' ), … … 63 72 $this->assertEquals( array( $u1, $u3 ), $user_ids ); 64 73 } 65 74 75 /** 76 * @expectedDeprecated BP_Core_User::get_users 77 */ 66 78 public function test_get_users_with_include_array() { 67 79 $u1 = $this->create_user( array( 68 80 'last_activity' => gmdate( 'Y-m-d H:i:s' ), -
tests/testcases/groups/class-bp-groups-member.php
124 124 $this->assertEquals( $ids, array( $g2 ) ); 125 125 } 126 126 127 /** 128 * @expectedDeprecated BP_Groups_Member::get_all_for_group 129 */ 127 130 public function test_get_all_for_group_with_exclude() { 128 131 $g1 = $this->factory->group->create(); 129 132