dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Increase maximum length of automatic deletion summaries
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
TestUserRegistry.php
diff --git
a/tests/phpunit/includes/TestUserRegistry.php
b/tests/phpunit/includes/TestUserRegistry.php
index
3064a3d
..
40a5dc5
100644
(file)
--- a/
tests/phpunit/includes/TestUserRegistry.php
+++ b/
tests/phpunit/includes/TestUserRegistry.php
@@
-33,7
+33,7
@@
class TestUserRegistry {
*/
public static function getMutableTestUser( $testName, $groups = [] ) {
$id = self::getNextId();
*/
public static function getMutableTestUser( $testName, $groups = [] ) {
$id = self::getNextId();
- $password =
wfRandomString( 20 )
;
+ $password =
"password_for_test_user_id_{$id}"
;
$testUser = new TestUser(
"TestUser $testName $id", // username
"Name $id", // real name
$testUser = new TestUser(
"TestUser $testName $id", // username
"Name $id", // real name
@@
-75,7
+75,7
@@
class TestUserRegistry {
$password = 'UTSysopPassword';
} else {
$username = "TestUser $id";
$password = 'UTSysopPassword';
} else {
$username = "TestUser $id";
- $password =
wfRandomString( 20 )
;
+ $password =
"password_for_test_user_id_{$id}"
;
}
self::$testUsers[$key] = $testUser = new TestUser(
$username, // username
}
self::$testUsers[$key] = $testUser = new TestUser(
$username, // username