You appear to be a bot. Output may be restricted
Description
Usage
Tests_Post::test_parse_post_content_remaining_single_page();
Parameters
Returns
void
Source
File name: wordpress-develop-tests/phpunit/tests/post.php
Lines:
1 to 11 of 11
function test_parse_post_content_remaining_single_page() { global $multipage, $pages, $numpages; $post_id = self::factory()->post->create( array( 'post_content' => 'Page 0' ) ); $post = get_post( $post_id ); setup_postdata( $post ); $this->assertEquals( 0, $multipage ); $this->assertCount( 1, $pages ); $this->assertEquals( 1, $numpages ); $this->assertEquals( array( 'Page 0' ), $pages ); }