Go to file
Antoine Musso 7f5b0c1793 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
2015-01-09 13:54:08 +01:00
api Remove 'uselang' parameter hack which is no longer needed 2014-11-05 13:34:42 -08:00
controller Add job to keep user notifications in reasonable volume 2014-09-29 23:10:18 +00:00
db_patches Add TargetPage model and mapper to notifications 2014-08-13 00:48:07 +00:00
formatters Add emailsubject as a distribution type 2014-09-12 20:32:27 +00:00
i18n Localisation updates from https://translatewiki.net. 2015-01-08 22:43:34 +01:00
includes Prevent undefined index warnings 2014-12-09 01:43:03 +00:00
jobs Add job to keep user notifications in reasonable volume 2014-09-29 23:10:18 +00:00
maintenance Delete invalid records from echo_target_page 2014-08-19 11:34:01 -07:00
model Merge "Fallback to master lookup for title when lookup in slave fails" 2014-08-27 22:52:35 +00:00
modules overlay: Remove needless specifity in .mw-echo-grey-link selector 2015-01-06 22:04:12 +00:00
scripts Hygiene: Use the core AutoloadGenerator 2014-11-19 09:16:43 -08:00
special SpecialNotifications: Use a constant 2014-10-11 12:15:30 -07:00
tests Fix EchoTitleLocalCacheTest::testGet corner case 2015-01-09 13:54:08 +01:00
.gitignore Ignore browser test screenshots 2014-09-30 13:34:28 -07:00
.gitreview Add .gitreview file 2012-04-28 01:26:21 +10:00
.jshintignore Add ability to run QUnit tests 2014-08-01 15:55:22 -07:00
.jshintrc Add .jshintrc 2013-04-18 00:36:08 +02:00
.rubocop.yml Prepare repository for running RuboCop after every push to Gerrit 2014-10-21 12:59:54 +02:00
.rubocop_todo.yml QA update for single quote preference 2014-11-10 14:21:28 -07:00
autoload.php Hygiene: Use the core AutoloadGenerator 2014-11-19 09:16:43 -08:00
COPYING Add COPYING 2014-01-24 16:00:24 -08:00
Echo.alias.php Localisation updates from https://translatewiki.net. 2014-12-13 22:29:08 +01:00
Echo.i18n.php Update i18n shim 2014-04-22 13:18:45 +00:00
Echo.php Hygiene: autogenerate $wgAutoloadFiles lines 2014-10-23 12:09:33 -07:00
echo.sql Add TargetPage model and mapper to notifications 2014-08-13 00:48:07 +00:00
Gemfile QA update for single quote preference 2014-11-10 14:21:28 -07:00
Gemfile.lock QA: update ruby gems 2014-11-07 14:03:57 -07:00
Hooks.php Test if 'EventLogging' class exists, rather than deprecated function 2015-01-07 10:27:52 -08:00
Makefile Hygiene: Dont run jshint against .less files 2014-09-05 16:45:34 -07:00
Notifier.php Use MailAddress::newFromUser() 2014-09-21 18:25:14 -07:00
package.json Directory reshuffle, add dev tools 2014-08-01 22:38:41 +00:00
Resources.php Hygiene: Alter how initialisation of the overlay works 2014-09-12 22:49:51 +00:00