Skip to content

Commit bf011e4

Browse files
committed
Rename class and test function
1 parent 9ae1f51 commit bf011e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/phpunit/tests/html-api/wpHtmlProcessorHtml5lib.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
* @coversDefaultClass WP_HTML_Processor
1414
*/
15-
class Tests_HtmlApi_WpHtmlProcessorHtml5lib extends WP_UnitTestCase {
15+
class Tests_HtmlApi_Html5lib extends WP_UnitTestCase {
1616

1717
/**
1818
* The HTML Processor only accepts HTML in document <body>.
@@ -51,7 +51,7 @@ class Tests_HtmlApi_WpHtmlProcessorHtml5lib extends WP_UnitTestCase {
5151
* @param string $html Given test HTML.
5252
* @param string $result Tree structure of parsed HTML.
5353
*/
54-
public function test_external_html5lib( $fragment_context, $html, $result ) {
54+
public function test_parse( $fragment_context, $html, $result ) {
5555
if ( self::SKIP_HEAD_TESTS ) {
5656
$html_start = "<html>\n <head>\n <body>\n";
5757
if (

0 commit comments

Comments
 (0)