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 |
||
|---|---|---|
| .. | ||
| BadTitleErrorTest.php | ||
| ErrorPageErrorTest.php | ||
| MWExceptionTest.php | ||
| PermissionsErrorTest.php | ||
| ReadOnlyErrorTest.php | ||
| ThrottledErrorTest.php | ||
| UserBlockedErrorTest.php | ||
| UserNotLoggedInTest.php | ||