Page MenuHomePhabricator

Test failure on ProofreadPage\Index\IndexContentHandlerTest::testUnserializeContentInWikitext
Closed, ResolvedPublic

Description

https://integration.wikimedia.org/ci/job/quibble-vendor-mysql-php72-noselenium-docker/84349/console

00:42:14 There was 1 failure:
00:42:14 
00:42:14 1) ProofreadPage\Index\IndexContentHandlerTest::testUnserializeContentInWikitext with data set #24 (ProofreadPage\Index\IndexContent Object (...), '[[Category:Foo_Bar]]')
00:42:14 Failed asserting that two objects are equal.
00:42:14 --- Expected
00:42:14 +++ Actual
00:42:14 @@ @@
00:42:14              'mTitleValue' => null
00:42:14              'mIsBigDeletion' => null
00:42:14              'mIsValid' => true
00:42:14 -            'mInstanceCacheKey' => 'Category:Foo Bar'
00:42:14 +            'mInstanceCacheKey' => 'Category:Foo_Bar'
00:42:14          )
00:42:14      )
00:42:14      'mText' => ''
00:42:14      'model_id' => 'proofread-index'
00:42:14  )
00:42:14 
00:42:14 /workspace/src/extensions/ProofreadPage/tests/phpunit/Index/IndexContentHandlerTest.php:256
00:42:14 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:449

mInstanceCacheKey was added with https://gerrit.wikimedia.org/r/c/mediawiki/core/+/683239 - T281337