Changeset 13402 for trunk/tests/phpunit/includes/factory.php
- Timestamp:
- 01/08/2023 11:12:01 PM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/factory.php
r13108 r13402 176 176 177 177 $thread_id = messages_new_message( $args ); 178 $thread = new BP_Messages_Thread( $thread_id ); 179 return end( $thread->messages )->id; 178 $message = BP_Messages_Thread::get_latest_thread_message( $thread_id ); 179 180 return $message->id; 180 181 } 181 182
Note: See TracChangeset
for help on using the changeset viewer.