Page MenuHomePhabricator

ParserIntegrationTest::testParse with data set "parserTests.txt: Different domains" ('legacy')
Closed, ResolvedPublic

Description

https://gerrit.wikimedia.org/r/c/mediawiki/extensions/SecureLinkFixer/+/1277248

https://integration.wikimedia.org/ci/job/quibble-vendor-mysql-php83/67950/console

01:02:11 1) ParserIntegrationTest::testParse with data set "parserTests.txt: Different domains" ('legacy')
01:02:11 Failed asserting that two strings are equal.
01:02:11 --- Expected
01:02:11 +++ Actual
01:02:11 @@ @@
01:02:11  '<p>Normal: <a rel="nofollow" class="external free" href="http://test.localhost/">http://test.localhost/</a>\n
01:02:11 -Preloaded: <a rel="nofollow" class="external free" href="https://en.wikipedia.org/wiki/Main_Page">http://en.wikipedia.org/wiki/Main_Page</a>\n
01:02:11 -Protorel: <a rel="nofollow" class="external text" href="https://en.wikipedia.org/wiki/Main_Page">Main Page</a>\n
01:02:11 -TLD: <a rel="nofollow" class="external free" href="https://foo.dev/foo/">http://foo.dev/foo/</a>\n
01:02:11 +Preloaded: <a rel="nofollow" class="external free" data-mw-original-href="http://en.wikipedia.org/wiki/Main_Page" href="https://en.wikipedia.org/wiki/Main_Page">http://en.wikipedia.org/wiki/Main_Page</a>\n
01:02:11 +Protorel: <a rel="nofollow" class="external text" data-mw-original-href="//en.wikipedia.org/wiki/Main_Page" href="https://en.wikipedia.org/wiki/Main_Page">Main Page</a>\n
01:02:11 +TLD: <a rel="nofollow" class="external free" data-mw-original-href="http://foo.dev/foo/" href="https://foo.dev/foo/">http://foo.dev/foo/</a>\n
01:02:11  Ignored protocol: <a rel="nofollow" class="external free" href="ftp://en.wikipedia.org/">ftp://en.wikipedia.org/</a>\n
01:02:11  </p>'
01:02:11 
01:02:11 /workspace/src/tests/phpunit/suites/ParserIntegrationTest.php:73
01:02:11 /workspace/src/tests/phpunit/suites/SuiteEventsTrait.php:67
01:02:11 /workspace/src/tests/phpunit/suites/SuiteEventsTrait.php:67

Event Timeline

Change #1277253 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/extensions/SecureLinkFixer@master] parserTests.txt: Update for Core/Parsoid changes

https://gerrit.wikimedia.org/r/1277253

Change #1277253 merged by jenkins-bot:

[mediawiki/extensions/SecureLinkFixer@master] parserTests.txt: Update for Core/Parsoid changes

https://gerrit.wikimedia.org/r/1277253