Commit ce6911f
committed
HTML API: Rely on assertEqualHTML in media tests.
As part of ongoing work to improve the reliability of HTML parsing code in WordPress, this patch replaces strict string-equality tests with semantic tests using `assertEqualHTML()` to more direct assert intended behaviors.
Developed in WordPress/wordpress-develop#9264
Discussed in https://core.trac.wordpress.org/ticket/63694
Props dmsnell, jonsurrell.
See #63694
Built from https://develop.svn.wordpress.org/trunk@60971
git-svn-id: http://core.svn.wordpress.org/trunk@60307 1a063a9b-81f0-0310-95a4-ce76da25c4cd1 parent acf738b commit ce6911f
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments