Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/09/2013 02:22:04 PM (12 years ago)
Author:
boonebgorges
Message:

In test suite, factory->group->create() should return an id, not an object

For better parity with other factories

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/includes/factory.php

    r7047 r7050  
    7676        groups_update_groupmeta( $group_id, 'last_activity', bp_core_current_time() );
    7777
    78         return $this->get_object_by_id( $group_id );
     78        return $group_id;
    7979    }
    8080
Note: See TracChangeset for help on using the changeset viewer.