Changeset 51462 for trunk/tests/phpunit/tests/comment/getCommentLink.php
- Timestamp:
- 07/19/2021 02:00:11 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/comment/getCommentLink.php
r49603 r51462 67 67 $found = get_comment_link( self::$comments[1] ); 68 68 69 $this->assert Contains( 'cpage=3', $found );69 $this->assertStringContainsString( 'cpage=3', $found ); 70 70 } 71 71 … … 80 80 $found = get_comment_link( self::$comments[3] ); 81 81 82 $this->assert Contains( 'cpage=2', $found );82 $this->assertStringContainsString( 'cpage=2', $found ); 83 83 } 84 84 … … 93 93 $found = get_comment_link( self::$comments[5] ); 94 94 95 $this->assert Contains( 'cpage=1', $found );95 $this->assertStringContainsString( 'cpage=1', $found ); 96 96 } 97 97 … … 105 105 $found = get_comment_link( self::$comments[5] ); 106 106 107 $this->assert NotContains( 'cpage', $found );107 $this->assertStringNotContainsString( 'cpage', $found ); 108 108 } 109 109 … … 118 118 $found = get_comment_link( self::$comments[3] ); 119 119 120 $this->assert Contains( 'cpage=2', $found );120 $this->assertStringContainsString( 'cpage=2', $found ); 121 121 } 122 122 … … 131 131 $found = get_comment_link( self::$comments[1] ); 132 132 133 $this->assert Contains( 'cpage=3', $found );133 $this->assertStringContainsString( 'cpage=3', $found ); 134 134 } 135 135 … … 143 143 $found = get_comment_link( self::$comments[1] ); 144 144 145 $this->assert NotContains( 'comment-page-1', $found );145 $this->assertStringNotContainsString( 'comment-page-1', $found ); 146 146 } 147 147 }
Note: See TracChangeset
for help on using the changeset viewer.