https://bugzilla.wikimedia.org/show_bug.cgi?id=70659
Bug ID: 70659
Summary: DiffViewTest failures on travis!
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: WikidataRepo
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Web browser: ---
Mobile Platform: ---
Wikibase tests on travis have been failing on and off (mostly on) for weeks
now!
It has something to do with DiffViewTest (and maybe one of the FingerprintView
patches, since that's approximately when this issue started).
There were 4 failures:
1) Wikibase\Test\DiffViewTest::testGetHtml with data set "Link is linked"
('@<a\\b[^>]* href="[^"]*\\bNEW"[^>]*>NEW</a>@', NULL, 'NEW', 'وصلات/enwiki')
Diff table content line
Failed asserting that '<tr><td colspan="2"> </td><td
class="diff-marker">+</td><td class="diff-addedline"><div><ins
class="diffchange diffchange-inline">NEW</ins></div></td></tr>' matches PCRE
pattern "@<a\b[^>]* href="[^"]*\bNEW"[^>]*>NEW</a>@".
/home/travis/build/wikimedia/phase3/extensions/Wikibase/repo/tests/phpunit/includes/DiffViewTest.php:121
2) Wikibase\Test\DiffViewTest::testGetHtml with data set "Link has direction"
('@<a\\b[^>]* dir="auto"@', NULL, 'NEW', 'وصلات/enwiki')
Diff table content line
Failed asserting that '<tr><td colspan="2"> </td><td
class="diff-marker">+</td><td class="diff-addedline"><div><ins
class="diffchange diffchange-inline">NEW</ins></div></td></tr>' matches PCRE
pattern "@<a\b[^>]* dir="auto"@".
/home/travis/build/wikimedia/phase3/extensions/Wikibase/repo/tests/phpunit/includes/DiffViewTest.php:121
3) Wikibase\Test\DiffViewTest::testGetHtml with data set "Link has hreflang"
('@<a\\b[^>]* hreflang="en"@', NULL, 'NEW', 'وصلات/enwiki')
Diff table content line
Failed asserting that '<tr><td colspan="2"> </td><td
class="diff-marker">+</td><td class="diff-addedline"><div><ins
class="diffchange diffchange-inline">NEW</ins></div></td></tr>' matches PCRE
pattern "@<a\b[^>]* hreflang="en"@".
/home/travis/build/wikimedia/phase3/extensions/Wikibase/repo/tests/phpunit/includes/DiffViewTest.php:121
4) Wikibase\Test\DiffViewTest::testGetHtml with data set "Badge is linked
correctly" ('@<a\\b[^>]* href="/wiki/index\\.php/Item\\:Q123"@', NULL, 'Q123',
'وصلات/enwiki/badges')
Diff table content line
Failed asserting that '<tr><td colspan="2"> </td><td
class="diff-marker">+</td><td class="diff-addedline"><div><ins
class="diffchange diffchange-inline">Q123</ins></div></td></tr>' matches PCRE
pattern "@<a\b[^>]* href="/wiki/index\.php/Item\:Q123"@".
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l