Changeset 51565 for trunk/tests/phpunit/tests/term/wpGenerateTagCloud.php
- Timestamp:
- 08/06/2021 09:52:06 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term/wpGenerateTagCloud.php
r51462 r51565 130 130 ); 131 131 132 $this->assert RegExp( "|^<ul class='wp-tag-cloud' role='list'>|", $found );133 $this->assert RegExp( "|</ul>\n|", $found );132 $this->assertMatchesRegularExpression( "|^<ul class='wp-tag-cloud' role='list'>|", $found ); 133 $this->assertMatchesRegularExpression( "|</ul>\n|", $found ); 134 134 $this->assertStringContainsString( '>' . $tags[0]->name . '<', $found ); 135 135 } … … 185 185 ); 186 186 187 $this->assert RegExp( "|^<ul class='wp-tag-cloud' role='list'>|", $found );188 $this->assert RegExp( "|</ul>\n|", $found );187 $this->assertMatchesRegularExpression( "|^<ul class='wp-tag-cloud' role='list'>|", $found ); 188 $this->assertMatchesRegularExpression( "|</ul>\n|", $found ); 189 189 190 190 foreach ( $tags as $tag ) {
Note: See TracChangeset
for help on using the changeset viewer.