- Timestamp:
- 09/13/2016 05:35:55 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/groups/class-bp-groups-group.php
r11089 r11091 644 644 $this->assertEmpty( $found1['groups'] ); 645 645 646 $group0 = groups_get_group( array( 'group_id' => $groups[0] ));646 $group0 = groups_get_group( $groups[0] ); 647 647 $group0->name = 'Foo'; 648 648 $group0->save(); … … 669 669 $this->assertEqualSets( $groups, wp_list_pluck( $found1['groups'], 'id' ) ); 670 670 671 $group0 = groups_get_group( array( 'group_id' => $groups[0] ));671 $group0 = groups_get_group( $groups[0] ); 672 672 $group0->delete(); 673 673 … … 1004 1004 1005 1005 // Prime cache 1006 groups_get_group( array( 'group_id' => $g, ));1006 groups_get_group( $g ); 1007 1007 1008 1008 $this->assertNotEmpty( wp_cache_get( $g, 'bp_groups' ) ); … … 1022 1022 1023 1023 // Prime cache 1024 groups_get_group( array( 'group_id' => $g, ));1024 groups_get_group( $g ); 1025 1025 1026 1026 $this->assertNotEmpty( wp_cache_get( $g, 'bp_groups' ) );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)