- Timestamp:
- 11/03/2017 07:44:10 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/core/functions/bpCoreGetDirectoryPageIds.php
r11256 r11737 45 45 $old_page_ids = bp_core_get_directory_page_ids(); 46 46 47 $p = $this->factory->post->create( array(47 $p = self::factory()->post->create( array( 48 48 'post_status' => 'publish', 49 49 'post_type' => 'page', … … 263 263 264 264 // create a blog 265 $u = $this->factory->user->create();266 $b1 = $this->factory->blog->create( array( 'user_id' => $u ) );265 $u = self::factory()->user->create(); 266 $b1 = self::factory()->blog->create( array( 'user_id' => $u ) ); 267 267 268 268 // switch to blog and create some dummy posts until we reach a post ID that 269 269 // matches our BP activity page ID 270 270 switch_to_blog( $b1 ); 271 $p = $this->factory->post->create();271 $p = self::factory()->post->create(); 272 272 while( $p <= $dir_pages->activity->id ) { 273 $p = $this->factory->post->create();273 $p = self::factory()->post->create(); 274 274 } 275 275
Note: See TracChangeset
for help on using the changeset viewer.