X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FTestUserRegistry.php;h=40a5dc5c318147ef994c2c979edd1f6af328cab3;hb=344481f60d92ac9295129c5089c0fe467ff497b9;hp=3064a3d316397928ebdcfbd2618052f53f54e9bc;hpb=a479750da672066b4189b115d1141a23d8c5cae3;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/TestUserRegistry.php b/tests/phpunit/includes/TestUserRegistry.php index 3064a3d316..40a5dc5c31 100644 --- 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(); - $password = wfRandomString( 20 ); + $password = "password_for_test_user_id_{$id}"; $testUser = new TestUser( "TestUser $testName $id", // username "Name $id", // real name @@ -75,7 +75,7 @@ class TestUserRegistry { $password = 'UTSysopPassword'; } else { $username = "TestUser $id"; - $password = wfRandomString( 20 ); + $password = "password_for_test_user_id_{$id}"; } self::$testUsers[$key] = $testUser = new TestUser( $username, // username