Page MenuHomePhabricator
Paste P7638

(An Untitled Masterwork)
ActivePublic

Authored by Legoktm on Oct 5 2018, 5:12 AM.
Tags
None
Referenced Files
F26315606:
Oct 5 2018, 5:12 AM
Subscribers
None
20:58:51 There were 8 failures:
20:58:51
20:58:51 1) Kartographer\Tests\KartographerTest::testTagData with data set #2 ('{"_4622d19afa2e6480c327846395...\n }]}', '<mapframe width=700 height=40...frame>', '<mapframe> with GeoJSON')
20:58:51 <mapframe> with GeoJSON
20:58:51 Failed asserting that two strings are equal.
20:58:51 --- Expected
20:58:51 +++ Actual
20:58:51 @@ @@
20:58:51 -'{"_4622d19afa2e6480c327846395ed932ba6fa56d4":[{"type":"Feature","geometry":{"type":"Point","coordinates":[-122.39879999999999,37.801299999999998]},"properties":{"title":"Foo bar","marker-symbol":"1","marker-size":"medium","marker-color":"0050d0"}}]}'
20:58:51 +'{"_77f4d10f29a8d148fa6635f70dccbe1f49b8b79d":[{"type":"Feature","geometry":{"type":"Point","coordinates":[-122.39879999999999,37.801299999999998]},"properties":{"title":"Foo bar","marker-symbol":"1","marker-size":"medium","marker-color":"0050d0"}}]}'
20:58:51
20:58:51 /workspace/src/extensions/Kartographer/tests/phpunit/KartographerTest.php:70
20:58:51 /workspace/src/tests/phpunit/MediaWikiTestCase.php:416
20:58:51 /workspace/src/maintenance/doMaintenance.php:94
20:58:51
20:58:51 2) Kartographer\Tests\KartographerTest::testTagData with data set #3 ('{"_4622d19afa2e6480c327846395...\n }]}', '<mapframe width=700 height=40...frame>', '<mapframe> with GeoJSON array')
20:58:51 <mapframe> with GeoJSON array
20:58:51 Failed asserting that two strings are equal.
20:58:51 --- Expected
20:58:51 +++ Actual
20:58:51 @@ @@
20:58:51 -'{"_4622d19afa2e6480c327846395ed932ba6fa56d4":[{"type":"Feature","geometry":{"type":"Point","coordinates":[-122.39879999999999,37.801299999999998]},"properties":{"title":"Foo bar","marker-symbol":"1","marker-size":"medium","marker-color":"0050d0"}}]}'
20:58:51 +'{"_77f4d10f29a8d148fa6635f70dccbe1f49b8b79d":[{"type":"Feature","geometry":{"type":"Point","coordinates":[-122.39879999999999,37.801299999999998]},"properties":{"title":"Foo bar","marker-symbol":"1","marker-size":"medium","marker-color":"0050d0"}}]}'
20:58:51
20:58:51 /workspace/src/extensions/Kartographer/tests/phpunit/KartographerTest.php:70
20:58:51 /workspace/src/tests/phpunit/MediaWikiTestCase.php:416
20:58:51 /workspace/src/maintenance/doMaintenance.php:94
20:58:51
20:58:51 3) Kartographer\Tests\KartographerTest::testTagData with data set #10 ('{"_be34df99c99d1efd9eaa8eabc8...n ]}', '<mapframe width=700 height=40...frame>', '<mapframe> with parsable text...iption')
20:58:51 <mapframe> with parsable text and description
20:58:51 Failed asserting that two strings are equal.
20:58:51 --- Expected
20:58:51 +++ Actual
20:58:51 @@ @@
20:58:51 -'{"_be34df99c99d1efd9eaa8eabc87a43f2541a67e5":[{"type":"Feature","geometry":{"type":"Point","coordinates":[-122.39879999999999,37.801299999999998]},"properties":{"title":"&lt;script&gt;alert(document.cookie);&lt;\/script&gt;","description":"<a href=\"\/w\/index.php?title=Link_to_nowhere&amp;action=edit&amp;redlink=1\" class=\"new\" title=\"Link to nowhere (page does not exist)\">Link to nowhere<\/a>","marker-symbol":"1"}}]}'
20:58:51 +'{"_08d55ba117e92bf93fa8dd234722d6c8dee4f326":[{"type":"Feature","geometry":{"type":"Point","coordinates":[-122.39879999999999,37.801299999999998]},"properties":{"title":"&lt;script&gt;alert(document.cookie);&lt;\/script&gt;","description":"<a href=\"\/w\/index.php?title=Link_to_nowhere&amp;action=edit&amp;redlink=1\" class=\"new\" title=\"Link to nowhere (page does not exist)\">Link to nowhere<\/a>","marker-symbol":"1"}}]}'
20:58:51
20:58:51 /workspace/src/extensions/Kartographer/tests/phpunit/KartographerTest.php:70
20:58:51 /workspace/src/tests/phpunit/MediaWikiTestCase.php:416
20:58:51 /workspace/src/maintenance/doMaintenance.php:94
20:58:51
20:58:51 4) Kartographer\Tests\KartographerTest::testTagData with data set #11 ('{"_be34df99c99d1efd9eaa8eabc8...n ]}', '<maplink zoom=13 longitude=-1...plink>', '<maplink> with parsable text ...iption')
20:58:51 <maplink> with parsable text and description
20:58:51 Failed asserting that two strings are equal.
20:58:51 --- Expected
20:58:51 +++ Actual
20:58:51 @@ @@
20:58:51 -'{"_be34df99c99d1efd9eaa8eabc87a43f2541a67e5":[{"type":"Feature","geometry":{"type":"Point","coordinates":[-122.39879999999999,37.801299999999998]},"properties":{"title":"&lt;script&gt;alert(document.cookie);&lt;\/script&gt;","description":"<a href=\"\/w\/index.php?title=Link_to_nowhere&amp;action=edit&amp;redlink=1\" class=\"new\" title=\"Link to nowhere (page does not exist)\">Link to nowhere<\/a>","marker-symbol":"1"}}]}'
20:58:51 +'{"_08d55ba117e92bf93fa8dd234722d6c8dee4f326":[{"type":"Feature","geometry":{"type":"Point","coordinates":[-122.39879999999999,37.801299999999998]},"properties":{"title":"&lt;script&gt;alert(document.cookie);&lt;\/script&gt;","description":"<a href=\"\/w\/index.php?title=Link_to_nowhere&amp;action=edit&amp;redlink=1\" class=\"new\" title=\"Link to nowhere (page does not exist)\">Link to nowhere<\/a>","marker-symbol":"1"}}]}'
20:58:51
20:58:51 /workspace/src/extensions/Kartographer/tests/phpunit/KartographerTest.php:70
20:58:51 /workspace/src/tests/phpunit/MediaWikiTestCase.php:416
20:58:51 /workspace/src/maintenance/doMaintenance.php:94
20:58:51
20:58:51 5) Kartographer\Tests\KartographerTest::testTagData with data set #13 ('{"_a4d5387a1b7974bf854321421a...\n ]}', '<maplink zoom=13 longitude=10...plink>', 'T134719: XSS via __proto__')
20:58:51 T134719: XSS via __proto__
20:58:51 Failed asserting that two strings are equal.
20:58:51 --- Expected
20:58:51 +++ Actual
20:58:51 @@ @@
20:58:51 -'{"_a4d5387a1b7974bf854321421a36d913101f5724":[{"type":"Feature","geometry":{"type":"Point","coordinates":[-122.39879999999999,37.801299999999998]},"properties":{"title":"Foo bar"}},{"type":"GeometryCollection","geometries":[{"type":"Point","coordinates":[0,0],"properties":{}}]}]}'
20:58:51 +'{"_695c966889929c8620ab91ae1dcd2748af56cf89":[{"type":"Feature","geometry":{"type":"Point","coordinates":[-122.39879999999999,37.801299999999998]},"properties":{"title":"Foo bar"}},{"type":"GeometryCollection","geometries":[{"type":"Point","coordinates":[0,0],"properties":{}}]}]}'
20:58:51
20:58:51 /workspace/src/extensions/Kartographer/tests/phpunit/KartographerTest.php:70
20:58:51 /workspace/src/tests/phpunit/MediaWikiTestCase.php:416
20:58:51 /workspace/src/maintenance/doMaintenance.php:94
20:58:51
20:58:51 6) Kartographer\Tests\KartographerTest::testLiveData with data set #1 (' <maplink latitude=10 longi...frame>', array('_5e4843908b3c3d3b11ac4321edad...882cc2', '_2251fa240a210d2861cc9f44c48d...16ff2f'), true, false, false)
20:58:51 Failed asserting that two arrays are equal.
20:58:51 --- Expected
20:58:51 +++ Actual
20:58:51 @@ @@
20:58:51 Array (
20:58:51 - 0 => '_2251fa240a210d2861cc9f44c48d7e3ba116ff2f'
20:58:51 - 1 => '_5e4843908b3c3d3b11ac4321edadedde28882cc2'
20:58:51 + 0 => '_5e4843908b3c3d3b11ac4321edadedde28882cc2'
20:58:51 + 1 => '_71e34d00c2631ea0bbe69092d556877ef3238814'
20:58:51
20:58:51 /workspace/src/tests/phpunit/MediaWikiTestCase.php:2021
20:58:51 /workspace/src/extensions/Kartographer/tests/phpunit/KartographerTest.php:214
20:58:51 /workspace/src/tests/phpunit/MediaWikiTestCase.php:416
20:58:51 /workspace/src/maintenance/doMaintenance.php:94
20:58:51
20:58:51 7) Kartographer\Tests\KartographerTest::testLiveData with data set #2 (' <maplink latitude=10 longi...frame>', array('_5e4843908b3c3d3b11ac4321edad...882cc2', '_2251fa240a210d2861cc9f44c48d...16ff2f'), false, true, false)
20:58:51 Failed asserting that two arrays are equal.
20:58:51 --- Expected
20:58:51 +++ Actual
20:58:51 @@ @@
20:58:51 Array (
20:58:51 - 0 => '_2251fa240a210d2861cc9f44c48d7e3ba116ff2f'
20:58:51 - 1 => '_5e4843908b3c3d3b11ac4321edadedde28882cc2'
20:58:51 + 0 => '_5e4843908b3c3d3b11ac4321edadedde28882cc2'
20:58:51 + 1 => '_71e34d00c2631ea0bbe69092d556877ef3238814'
20:58:51
20:58:51 /workspace/src/tests/phpunit/MediaWikiTestCase.php:2021
20:58:51 /workspace/src/extensions/Kartographer/tests/phpunit/KartographerTest.php:214
20:58:51 /workspace/src/tests/phpunit/MediaWikiTestCase.php:416
20:58:51 /workspace/src/maintenance/doMaintenance.php:94
20:58:51
20:58:51 8) Kartographer\Tests\KartographerTest::testLiveData with data set #3 (' <maplink latitude=10 longi...frame>', array('_5e4843908b3c3d3b11ac4321edad...882cc2', '_2251fa240a210d2861cc9f44c48d...16ff2f'), true, true, false)
20:58:51 Failed asserting that two arrays are equal.
20:58:51 --- Expected
20:58:51 +++ Actual
20:58:51 @@ @@
20:58:51 Array (
20:58:51 - 0 => '_2251fa240a210d2861cc9f44c48d7e3ba116ff2f'
20:58:51 - 1 => '_5e4843908b3c3d3b11ac4321edadedde28882cc2'
20:58:51 + 0 => '_5e4843908b3c3d3b11ac4321edadedde28882cc2'
20:58:51 + 1 => '_71e34d00c2631ea0bbe69092d556877ef3238814'
20:58:51
20:58:51 /workspace/src/tests/phpunit/MediaWikiTestCase.php:2021
20:58:51 /workspace/src/extensions/Kartographer/tests/phpunit/KartographerTest.php:214
20:58:51 /workspace/src/tests/phpunit/MediaWikiTestCase.php:416
20:58:51 /workspace/src/maintenance/doMaintenance.php:94