wiki.techinc.nl/tests/phpunit/includes/exception
Dreamy Jazz 527be9ff54 Test UserBlockedError
Why:
* Recent additions of multiple message display mean that
  adding tests for UserBlockedError is useful in reviewing
  the change.
* As I made these tests to review the change, they can be
  added into the repo as tests to increase test coverage.

What:
* Add two integration tests for UserBlockedError. These
  are integration tests because the class relies on the
  global state (calling MediaWikiServices::getInstance in
  all cases).

Bug: T349826
Change-Id: I9f27d792ac7faf9378278e729a8cef2ec39c2bba
2023-11-02 13:20:11 +00:00
..
BadTitleErrorTest.php Reorg: Move three output related classes to includes/Output/ 2023-09-05 19:36:42 +01:00
ErrorPageErrorTest.php Reorg: Move three output related classes to includes/Output/ 2023-09-05 19:36:42 +01:00
MWExceptionTest.php
PermissionsErrorTest.php tests: Make some PHPUnit data providers static 2023-03-24 02:53:57 +00:00
ReadOnlyErrorTest.php Fix DB usage in non-database tests (part 2) 2023-08-06 22:57:28 +00:00
ThrottledErrorTest.php Reorg: Move three output related classes to includes/Output/ 2023-09-05 19:36:42 +01:00
UserBlockedErrorTest.php Test UserBlockedError 2023-11-02 13:20:11 +00:00
UserNotLoggedInTest.php