Repository navigation
Commit e98fa1c
committed
Tests: Compare HTML semantically in the
Use `assertEqualHTML()` instead of `assertSame()` when checking that `WP_HTML_Processor::serialize_token()` reflects enqueued attribute updates, so the test no longer depends on the order of serialized attributes.
Developed in: WordPress#15373
Props motylanogha, dmsnell.
See #64567.
git-svn-id: https://develop.svn.wordpress.org/trunk@65245 602fd350-edb4-49c9-b593-d223f7449a82serialize_token() attribute test.1 parent 457a26f commit e98fa1c
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
872 | 872 | | |
873 | 873 | | |
874 | 874 | | |
875 | | - | |
| 875 | + | |
876 | 876 | | |
877 | 877 | | |
| 878 | + | |
878 | 879 | | |
879 | 880 | | |
880 | 881 | | |
881 | 882 | | |
882 | 883 | | |
883 | 884 | | |
884 | 885 | | |
885 | | - | |
| 886 | + | |
886 | 887 | | |
887 | 888 | | |
888 | | - | |
| 889 | + | |
| 890 | + | |
889 | 891 | | |
890 | 892 | | |
891 | 893 | | |
0 commit comments