Ticket #7234: 7234.2.diff
File 7234.2.diff, 915 bytes (added by , 8 years ago) |
---|
-
tests/phpunit/includes/factory.php
157 157 $this->default_generation_definitions = array( 158 158 'sender_id' => get_current_user_id(), 159 159 'thread_id' => 0, 160 'recipients' => array(),161 160 'subject' => new WP_UnitTest_Generator_Sequence( 'Message subject %s' ), 162 161 'content' => new WP_UnitTest_Generator_Sequence( 'Message content %s' ), 163 162 'date_sent' => bp_core_current_time(), … … 169 168 return $message_id; 170 169 } 171 170 172 function update_object( $ group_id, $fields ) {171 function update_object( $message_id, $fields ) { 173 172 // todo 174 173 } 175 174 176 function get_object_by_id( $ group_id ) {177 // todo175 function get_object_by_id( $message_id ) { 176 return new BP_Messages_Message( $message_id ); 178 177 } 179 178 } 180 179