Skip to:
Content

BuddyPress.org

Ticket #7234: 7234.diff

File 7234.diff, 546 bytes (added by jdgrimes, 9 years ago)
  • tests/phpunit/includes/factory.php

     
    169169                return $message_id;
    170170        }
    171171
    172         function update_object( $group_id, $fields ) {
     172        function update_object( $message_id, $fields ) {
    173173                // todo
    174174        }
    175175
    176         function get_object_by_id( $group_id ) {
    177                 // todo
     176        function get_object_by_id( $message_id ) {
     177                return new BP_Messages_Message( $message_id );
    178178        }
    179179}
    180180