Tests: Rename the html tests directory to html-api.

This matches the `WP_HTML_Tag_Processor` class location in `wp-includes` and the `@group` name used in the tests.

Follow-up to [55203].

See #56793.

git-svn-id: https://develop.svn.wordpress.org/trunk@55315 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2023-02-13 14:38:31 +00:00
parent 1261ced3bf
commit 83f3d9078d
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@
* *
* @coversDefaultClass WP_HTML_Tag_Processor * @coversDefaultClass WP_HTML_Tag_Processor
*/ */
class Tests_HTML_wpHtmlTagProcessor_Bookmark extends WP_UnitTestCase { class Tests_HtmlApi_wpHtmlTagProcessor_Bookmark extends WP_UnitTestCase {
/** /**
* @ticket 56299 * @ticket 56299

View File

@ -11,7 +11,7 @@
* *
* @coversDefaultClass WP_HTML_Tag_Processor * @coversDefaultClass WP_HTML_Tag_Processor
*/ */
class Tests_HTML_wpHtmlTagProcessor extends WP_UnitTestCase { class Tests_HtmlApi_wpHtmlTagProcessor extends WP_UnitTestCase {
const HTML_SIMPLE = '<div id="first"><span id="second">Text</span></div>'; const HTML_SIMPLE = '<div id="first"><span id="second">Text</span></div>';
const HTML_WITH_CLASSES = '<div class="main with-border" id="first"><span class="not-main bold with-border" id="second">Text</span></div>'; const HTML_WITH_CLASSES = '<div class="main with-border" id="first"><span class="not-main bold with-border" id="second">Text</span></div>';
const HTML_MALFORMED = '<div><span class="d-md-none" Notifications</span><span class="d-none d-md-inline">Back to notifications</span></div>'; const HTML_MALFORMED = '<div><span class="d-md-none" Notifications</span><span class="d-none d-md-inline">Back to notifications</span></div>';