Changeset 7134
- Timestamp:
- 06/03/2013 01:53:33 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-classes.php
r7111 r7134 92 92 $this->mods[] = $user; 93 93 } 94 } else { 95 $this->id = 0; 94 96 } 95 97 } -
trunk/tests/testcases/groups/class-bp-groups-group.php
r7112 r7134 12 12 } 13 13 14 /** __construct() ***************************************************/ 15 16 /** 17 * @group __construct 18 */ 19 public function test_non_existent_group() { 20 $group = new BP_Groups_Group( 123456789 ); 21 $this->assertSame( 0, $group->id ); 22 } 23 14 24 /** get() ************************************************************/ 15 25
Note: See TracChangeset
for help on using the changeset viewer.