mirror of
git://develop.git.wordpress.org/
synced 2025-02-06 23:50:43 +01:00
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:
parent
1261ced3bf
commit
83f3d9078d
@ -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
|
@ -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>';
|
Loading…
x
Reference in New Issue
Block a user