Changeset 7321
- Timestamp:
- 07/27/2013 06:06:14 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/testcases/groups/template.php
r7294 r7321 279 279 */ 280 280 public function test_bp_group_has_members_with_exclude_admins_mods_0() { 281 $g = $this->factory->group->create();282 281 $u1 = $this->create_user(); 283 282 $u2 = $this->create_user(); 284 283 $u3 = $this->create_user(); 285 286 $this->add_user_to_group( $u1, $g ); 287 $this->add_user_to_group( $u2, $g ); 288 $this->add_user_to_group( $u3, $g ); 284 $g = $this->factory->group->create( array( 285 'creator_id' => $u1, 286 ) ); 287 288 $now = time(); 289 $this->add_user_to_group( $u2, $g, array( 290 'date_modified' => $now - 60, 291 ) ); 292 $this->add_user_to_group( $u3, $g, array( 293 'date_modified' => $now - 60*60, 294 ) ); 289 295 290 296 $m1 = new BP_Groups_Member( $u1, $g );
Note: See TracChangeset
for help on using the changeset viewer.