Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/13/2016 05:35:55 AM (9 years ago)
Author:
boonebgorges
Message:

Use new groups_get_group() syntax throughout BP.

See #5451.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/testcases/groups/cache.php

    r11087 r11091  
    7474
    7575        // Prime cache
    76         groups_get_group( array( 'group_id' => $g, ) );
     76        groups_get_group( $g );
    7777
    7878        $this->assertNotEmpty( wp_cache_get( $g, 'bp_groups' ) );
     
    9393        // Prime cache
    9494        groups_update_groupmeta( $g, 'foo', 'bar' );
    95         groups_get_group( array( 'group_id' => $g ) );
     95        groups_get_group( $g );
    9696
    9797        $this->assertNotEmpty( wp_cache_get( $g, 'bp_groups' ) );
     
    109109
    110110        // Prime cache
    111         groups_get_group( array( 'group_id' => $g ) );
     111        groups_get_group( $g );
    112112
    113113        // fake an activity
     
    134134
    135135        // Prime cache
    136         groups_get_group( array( 'group_id' => $g1 ) );
     136        groups_get_group( $g1 );
    137137
    138138        // fake activities
Note: See TracChangeset for help on using the changeset viewer.