Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/13/2016 05:35:55 AM (10 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/functions.php

    r11089 r11091  
    293293                $g = $this->factory->group->create();
    294294
    295                 $group_before = groups_get_group( array(
    296                         'group_id' => $g,
    297                 ) );
    298 
     295                $group_before = groups_get_group( $g );
    299296                groups_create_group( array(
    300297                        'group_id' => $g,
     
    302299                ) );
    303300
    304                 $group_after = groups_get_group( array(
    305                         'group_id' => $g,
    306                 ) );
    307 
     301                $group_after = groups_get_group( $g );
    308302                $this->assertSame( $group_before->description, $group_after->description );
    309303        }
Note: See TracChangeset for help on using the changeset viewer.