Commit 86546fd
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 #9264
Discussed in https://core.trac.wordpress.org/ticket/63694
Props dmsnell, jonsurrell.
See #63694
git-svn-id: https://develop.svn.wordpress.org/trunk@60971 602fd350-edb4-49c9-b593-d223f7449a821 parent 843b569 commit 86546fd
1 file changed
+22
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
225 | 233 | | |
226 | 234 | | |
227 | 235 | | |
228 | | - | |
| 236 | + | |
229 | 237 | | |
230 | 238 | | |
231 | 239 | | |
232 | | - | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
233 | 253 | | |
234 | 254 | | |
235 | 255 | | |
| |||
0 commit comments