mediawiki-extensions-PageIm.../tests/phpunit
Thiemo Kreuz 0fd9a2b5f4 Fix score calculation in LinksUpdateHookHandler failing on unordered input
This patch is motivated by Iad694e0.

* I rearranged the code a little bit to avoid a duplicate line of code.
* I added a ksort() and a comment explaining it.
* Additional tests demonstrate why the ksort() is needed.
* I had to refactor the tests a little bit to allow for more test cases
  that have been missing before.

Bug: T212013
Change-Id: Ia96dc8c6cf57ddcea410a7300756d0013052ac79
2019-01-10 09:26:54 +01:00
..
ApiQueryPageImagesProxyMock.php Fix remaining php sniffs 2018-03-05 18:49:11 +01:00
ApiQueryPageImagesTest.php Fix MediaWiki.Commenting.LicenseComment.InvalidLicenseTag issues 2018-05-24 21:42:59 -07:00
LinksUpdateHookHandlerTest.php Fix score calculation in LinksUpdateHookHandler failing on unordered input 2019-01-10 09:26:54 +01:00
PageImagesTest.php Fix MediaWiki.Commenting.LicenseComment.InvalidLicenseTag issues 2018-05-24 21:42:59 -07:00