wiki.techinc.nl/tests/phpunit/includes/user
DannyS712 23242d04d1 Add a new UserNameUtils service
This replaces User::isValidUserName, ::isUsableName, ::isCreatableName,
::getCanonicalName, and ::isIP.

Unlike User::isIP, UserNameUtils::isIP will //not// return true
for IPv6 ranges.

UserNameUtils::isIPRange, like User::isIPRange, accepts a name and
simply calls IPUtils::isValidRange.

User::isValidUserName, ::isUsableName, ::isCreatableName,
::getCanonical, ::isIP, and ::isValidRange are all soft deprecated

A follow up patch will add this to the release notes, to avoid merge
conflicts.

Bug: T245231
Bug: T239527
Change-Id: I46684bc492bb74b728ff102971f6cdd4d746a50a
2020-03-26 01:31:14 +00:00
..
BotPasswordTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
CentralIdLookupTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
ExternalUserNamesTest.php ExternalUserNames: Handle otherwise-usable names with lowercase first letter 2020-02-03 15:43:52 -05:00
LocalIdLookupTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
PasswordResetTest.php Enhance passwored reset message 2020-03-13 16:18:48 -07:00
UserGroupMembershipTest.php Make use of PHPUnit's assertCount feature where possible 2020-03-02 15:58:41 +00:00
UserNameUtilsTest.php Add a new UserNameUtils service 2020-03-26 01:31:14 +00:00
UserTest.php Add a new UserNameUtils service 2020-03-26 01:31:14 +00:00