Page MenuHomePhabricator

PHPUnit test failure blocking merges in REL1_39 (testTemplateCategories and testNewRevisionsFromBatch_archive)
Closed, DuplicatePublicBUG REPORT

Description

All core patches to REL1_39 are blocked due to a PHPUnit failure
https://gerrit.wikimedia.org/r/q/project:mediawiki%252Fcore+branch:REL1_39+status:open

Examples:

Error is:

15:24:52 There were 2 failures:
15:24:52 
15:24:52 1) TemplateCategoriesTest::testTemplateCategories
15:24:52 Error for job of type htmlCacheUpdate
15:24:52 Failed asserting that 'PHPUnit\Framework\Error\Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated' is null.

17:27:05 2) MediaWiki\Tests\Revision\RevisionStoreDbTest::testNewRevisionsFromBatch_archive with data set "No preload slots or content, multiple pages" (array('comment'), Closure Object (...), 'Other_Page', array())
17:27:05 strtr(): Passing null to parameter #1 ($string) of type string is deprecated
17:27:05