Page MenuHomePhabricator

testAdvancedSearchForcesNamespacedUrls of AdvancedSearch failure
Open, Needs TriagePublic

Description

https://integration.wikimedia.org/ci/job/quibble-vendor-mysql-hhvm-docker/51448/console

There was 1 failure:

1) AdvancedSearch\Tests\HooksTest::testAdvancedSearchForcesNamespacedUrls
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'http://fe59b6608ed9/w/index.php?search=test&title=Special%3ASearch&go=Go&ns0=1'
+'http://fe59b6608ed9/w/index.php?search=test&title=Special%3ASearch&go=Go&ns0=1&ns120=1'

/workspace/src/extensions/AdvancedSearch/tests/phpunit/HooksTest.php:153
/workspace/src/tests/phpunit/MediaWikiTestCase.php:427
/workspace/src/maintenance/doMaintenance.php:99

Seems a dependency extension installed a new namespace which is now picked up, maybe set content namespaces in the test?

https://www.mediawiki.org/wiki/Extension_default_namespaces#ID_100-199

Event Timeline

Restricted Application added a project: TCB-Team. · View Herald TranscriptJun 1 2019, 7:02 AM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Status of this task?

@Zoranzoki21: "See previous comments and the upper left corner" is probably not what you want to hear. :)
Do you have a more specific question, and if you have then who are you asking?

@Zoranzoki21: "See previous comments and the upper left corner" is probably not what you want to hear. :)
Do you have a more specific question, and if you have then who are you asking?

I mean "is this still happening or not"? Because I don't saw this error in CI.