Changeset 25265
- Timestamp:
- 09/05/2013 10:02:42 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post.php
r25244 r25265 605 605 606 606 /** 607 * @ticket 24491 608 */ 609 function test_get_page_uri_with_nonexistent_post() { 610 global $wpdb; 611 $post_id = $wpdb->get_var( "SELECT MAX(ID) FROM $wpdb->posts" ) + 1; 612 $this->assertFalse( get_page_uri( $post_id ) ); 613 } 614 615 /** 607 616 * @ticket 23708 608 617 */
Note: See TracChangeset
for help on using the changeset viewer.