https://bugzilla.wikimedia.org/show_bug.cgi?id=68823
Bug ID: 68823
Summary: Unit tests do not specify dependency on
$wgWellFormedXml
Product: MediaWiki extensions
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: BetaFeatures
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Web browser: ---
Mobile Platform: ---
Example:
375) HTMLFeatureFieldTest::testCreatingFieldGivesExpectedStrings
Table row with class name not found.
Failed asserting that '<form action="/wiki/Main_Page" method=post
class=visualClear>
<table class=mw-htmlform-nolabel><tbody>
<tr class=mw-htmlform-field-HTMLFeatureField><td
class=mw-label><label> </label><td class=mw-input><div
class=mw-ui-feature-field><div class=mw-ui-feature-checkbox><label
for=mw-input-wpblahblahblah class=mw-ui-styled-checkbox-label><input
name="wpblahblahblah" type="checkbox" value="1" id="mw-input-wpblahblahblah"
class="mw-ui-feature-toggle mw-ui-checkbox" /> </label></div><div
class=mw-ui-feature-contain><div class=mw-ui-feature-header><div
class=mw-ui-feature-title-contain><p class=mw-ui-feature-title><label
for=mw-input-wpblahblahblah class=mw-ui-text-check-label>blah blah
blah</label></p></div><div class="mw-ui-feature-info-links filled"><a
href="http://example.org/features"
class=mw-ui-feature-info-link>information</a> <a
href="http://example.org/feedback"
class=mw-ui-feature-discussion-link>discussion</a></div></div><div
class=mw-ui-feature-main><div class=mw-ui-feature-meta><p
class=mw-ui-feature-description>This is a test feature - it should not show
up.</p><ul class=mw-ui-feature-requirements-list></ul></div><div
class=mw-ui-feature-screenshot-contain></div></div></div></div>
</tbody></table>
<input id=wpEditToken type=hidden value=+\ name=wpEditToken>
<input type=hidden value="Main Page" name=title>
<span class=mw-htmlform-submit-buttons>
<input type=submit value=Submit class=mw-htmlform-submit>
</span>
</form>' matches PCRE pattern "#<tr
class="mw-htmlform-field-HTMLFeatureField">#".
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l