Changeset 9817
- Timestamp:
- 04/28/2015 07:33:44 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/activity/template.php
r9561 r9817 366 366 'recorded_time' => date( 'Y-m-d H:i:s', $now - 100 ), 367 367 ) ); 368 369 // Make sure we get a fake group ID. 370 global $wpdb, $bp; 371 $max_group_id = $wpdb->get_var( "SELECT id FROM {$bp->groups->table_name} ORDER BY id DESC LIMIT 1" ); 368 372 $this->factory->activity->create( array( 369 373 'user_id' => $u3, 370 374 'component' => 'groups', 371 'item_id' => 324,375 'item_id' => $max_group_id + 1, 372 376 'type' => 'activity_update', 373 377 'recorded_time' => date( 'Y-m-d H:i:s', $now - 100 ),
Note: See TracChangeset
for help on using the changeset viewer.