(bug 38987) mediawiki.api.parse.test: Fix test breakage
authorTimo Tijhof <ttijhof@wikimedia.org>
Tue, 7 Aug 2012 23:54:34 +0000 (01:54 +0200)
committerTimo Tijhof <ttijhof@wikimedia.org>
Wed, 8 Aug 2012 17:42:57 +0000 (19:42 +0200)
commit89688d6ce0a586a45ec6634fba306fdbba481127
tree7c332a2d66674016b18d00062944cba4bf785b04
parente961ca0b7346d4494884b7dcf85d495cddb1b91a
(bug 38987) mediawiki.api.parse.test: Fix test breakage

The direct html comparison is not stable enough due to interference
if Tidy. Working around by doing a dom comparison instead of raw
html.

Change-Id: I62e39e0b05e3f9b5f78e2ac28a6f3ca0b608d152
tests/qunit/suites/resources/mediawiki.api/mediawiki.api.parse.test.js