aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/logging/MoveLogFormatterTest.php
Commit message (Collapse)AuthorAgeFilesLines
* Namespace all remaining files in includes/loggingJames D. Forrester2025-03-191-1/+1
| | | | | Bug: T353458 Change-Id: Ibe1810f1c71316a9124e1dc6ae405097dafd5267
* MoveLogFormatter::getPreloadTitles: Handle bad titlesLucas Werkmeister2024-07-181-0/+24
| | | | | | | | | | | If the namespace configuration changed, it’s possible that the title in the params can no longer be parsed. In that case, we shouldn’t return a null entry, but just an empty array instead. (I haven’t tried it out locally, but the test suggests that the actual formatting of the row works without issue, with the title being shown as Special:BadTitle.) Bug: T370396 Change-Id: I6335e12efa518332f7cd2268a833f8b60b8e6abe
* tests: Fix @covers and @coversDefaultClass to have leading \Reedy2024-02-161-1/+1
| | | | Change-Id: I5629f91387f2ac453ee4341bfe4bba310bd52f03
* Add @covers tags to logging testsKunal Mehta2017-12-241-0/+3
| | | | Change-Id: Ibb14291a75423ddbb7502a5a0ee24ff0c554a876
* Convert all array() syntax to []Kunal Mehta2016-02-171-104/+104
| | | | | | | | | | Per wikitech-l consensus: https://lists.wikimedia.org/pipermail/wikitech-l/2016-February/084821.html Notes: * Disabled CallTimePassByReference due to false positives (T127163) Change-Id: I2c8ce713ce6600a0bb7bf67537c87044c7a45c4b
* Add unit tests for all LogFormattersumherirrender2015-05-031-0/+270
Test the LogFormatter by passing old and new database rows to it. The text shown on Special:Log and the api result returned by list=logevents is tested. Change-Id: Icfcba506f4fa3010cdaf973aa2df23b6e92c25e4