wiki.techinc.nl/tests/phpunit/unit/includes/user/TempUser
Thalia 578f5ea339 RealTempUserConfig: Ensure match pattern is available when known
Why:

* When temporary accounts are known, the match patterns need to
  be available. If no match patterns are set, the match pattern
  is set to an array containing the generate pattern. Therefore
  the generate pattern must also be available if temporary
  accounts are known.
* This was not the case before this commit, and certain settings
  caused an error to be thrown from isTempName.

What:

* Use the generate pattern for the match patterns if temp accounts
  are known and no match patterns are set.
* Update the tests to use a generate pattern but no match pattern
  (the same as the default config).

Change-Id: Iadfbed40b14378a9309e8d7afab6064e25480514
2024-07-19 15:08:15 +01:00
..
FilteredRadixSerialMappingTest.php
LocalizedNumericSerialMappingTest.php
PatternTest.php
PlainNumericSerialMappingTest.php
RealTempUserConfigTest.php RealTempUserConfig: Ensure match pattern is available when known 2024-07-19 15:08:15 +01:00
ScrambleMappingTest.php
TempUserCreatorTest.php