Changeset 42343 for trunk/tests/phpunit/tests/canonical/pageOnFront.php
- Timestamp:
- 11/30/2017 11:09:33 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/canonical/pageOnFront.php
r42228 r42343 12 12 13 13 update_option( 'show_on_front', 'page' ); 14 update_option( 'page_for_posts', self::factory()->post->create( array( 'post_title' => 'blog-page', 'post_type' => 'page' ) ) ); 15 update_option( 'page_on_front', self::factory()->post->create( array( 'post_title' => 'front-page', 'post_type' => 'page', 'post_content' => "Page 1\n<!--nextpage-->\nPage 2" ) ) ); 14 update_option( 15 'page_for_posts', self::factory()->post->create( 16 array( 17 'post_title' => 'blog-page', 18 'post_type' => 'page', 19 ) 20 ) 21 ); 22 update_option( 23 'page_on_front', self::factory()->post->create( 24 array( 25 'post_title' => 'front-page', 26 'post_type' => 'page', 27 'post_content' => "Page 1\n<!--nextpage-->\nPage 2", 28 ) 29 ) 30 ); 16 31 } 17 32
Note: See TracChangeset
for help on using the changeset viewer.