HomePhabricator

Updated mediawiki/extensions Project: mediawiki/extensions/Echo…

Authored by hashar.

Description

Updated mediawiki/extensions Project: mediawiki/extensions/Echo 7f5b0c17933e781b3b29d5d66d068394a64b7d49

Fix EchoTitleLocalCacheTest::testGet corner case

EchoTitleLocalCache title cache resolution ends up querying the database
to resolve title id to Title object.

In some corner case, we might only have one page in the database (UTPage
as provided by MediaWikiTestCase), thus the id 2 would not resolve to a
Title breaking the test.

Use insertPage() to ensure we have a second page.

Bug: T78592
Change-Id: Ia9dbb256f566e489e1c81d89b6a6077831e07fc3

Details

Committed
Gerrit Code ReviewJan 9 2015, 3:30 PM
Parents
rMEXTcc704c87114f: Updated mediawiki/extensions Project…
Branches
Unknown
Tags
Unknown
ChangeId
Ia9dbb256f566e489e1c81d89b6a6077831e07fc3

Event Timeline