Changeset 35933 for trunk/tests/phpunit/tests/comment/getCommentLink.php
- Timestamp:
- 12/14/2015 07:45:45 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/comment/getCommentLink.php
r35858 r35933 129 129 $this->assertContains( 'cpage=3', $found ); 130 130 } 131 132 /** 133 * @ticket 34946 134 */ 135 public function test_should_not_contain_comment_page_1_when_pagination_is_disabled() { 136 $this->set_permalink_structure( '/%postname%/' ); 137 update_option( 'page_comments', 0 ); 138 139 $found = get_comment_link( self::$comments[1] ); 140 141 $this->assertNotContains( 'comment-page-1', $found ); 142 } 131 143 }
Note: See TracChangeset
for help on using the changeset viewer.