Page MenuHomePhabricator

SpecialContributions and SpecialDeletedContributions tests fail if $wgDefaultSkin is 'vector'
Closed, ResolvedPublic1 Estimated Story Points

Description

I had to set $wgDefaultSkin = 'vector-2022' to avoid these failures:

1) SpecialContributionsTest::testExecuteNoResultsForIPTarget with data set "Temporary accounts not enabled" (false, 'contributions-title')
Attempt to read property "nodeValue" on null

/home/aaron/PhpstormProjects/mediawiki/core/tests/phpunit/includes/specials/SpecialContributionsTest.php:160

2) SpecialContributionsTest::testExecuteNoResultsForIPTarget with data set "Temporary accounts enabled" (true, 'contributions-title-for-ip-wh...nabled')
Attempt to read property "nodeValue" on null

/home/aaron/PhpstormProjects/mediawiki/core/tests/phpunit/includes/specials/SpecialContributionsTest.php:160

3) SpecialDeletedContributionsTest::testExecuteNoResultsForIPTarget with data set "Temporary accounts not enabled" (false, 'deletedcontributions-title')
Attempt to read property "nodeValue" on null

/home/aaron/PhpstormProjects/mediawiki/core/tests/phpunit/includes/specials/SpecialDeletedContributionsTest.php:77

4) SpecialDeletedContributionsTest::testExecuteNoResultsForIPTarget with data set "Temporary accounts enabled" (true, 'deletedcontributions-title-fo...nabled')
Attempt to read property "nodeValue" on null

Event Timeline

Change #1101855 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):

[mediawiki/core@master] Fix core contributions special page tests for legacy Vector

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

Change #1101855 merged by jenkins-bot:

[mediawiki/core@master] Fix core contributions special page tests for legacy Vector

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