Ticket #24674: query.php.diff
File query.php.diff, 547 bytes (added by , 11 years ago) |
---|
-
tests/phpunit/tests/post/query.php
631 631 } 632 632 633 633 /** 634 * @ticket 24674 635 */ 636 function test_is_page() { 637 // try to fetch a page with ID 0 638 $post_0 = get_post(0); 639 640 // the page doesn't exist so is_page should return false 641 $this->assertFalse( is_page($post_0) ); 642 } 643 644 /** 634 645 * @ticket 22448 635 646 */ 636 647 function test_the_posts_filter() {