Changeset 35242 for trunk/tests/phpunit/tests/canonical/pageOnFront.php
- Timestamp:
- 10/17/2015 06:02:16 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/canonical/pageOnFront.php
r35225 r35242 19 19 20 20 update_option( 'show_on_front', 'page' ); 21 update_option( 'page_for_posts', self:: $factory->post->create( array( 'post_title' => 'blog-page', 'post_type' => 'page' ) ) );22 update_option( 'page_on_front', self:: $factory->post->create( array( 'post_title' => 'front-page', 'post_type' => 'page' ) ) );21 update_option( 'page_for_posts', self::factory()->post->create( array( 'post_title' => 'blog-page', 'post_type' => 'page' ) ) ); 22 update_option( 'page_on_front', self::factory()->post->create( array( 'post_title' => 'front-page', 'post_type' => 'page' ) ) ); 23 23 } 24 24
Note: See TracChangeset
for help on using the changeset viewer.