Changeset 11880
- Timestamp:
- 03/04/2018 07:55:02 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/core/functions/bpCoreGetDirectoryPageIds.php
r11737 r11880 266 266 $b1 = self::factory()->blog->create( array( 'user_id' => $u ) ); 267 267 268 // switch to blog and create some dummy posts until we reach a post ID that 269 // matches our BP activity page ID 268 // Switch to blog and create a post with the same BP activity page ID. 270 269 switch_to_blog( $b1 ); 271 $p = self::factory()->post->create(); 272 while( $p <= $dir_pages->activity->id ) { 273 $p = self::factory()->post->create(); 274 } 270 $p = self::factory()->post->create( array( 271 'import_id' => $dir_pages->activity->id 272 ) ); 275 273 276 274 // delete the post that matches the BP activity page ID on this sub-site
Note: See TracChangeset
for help on using the changeset viewer.