diff options
author | Reedy <reedy@wikimedia.org> | 2025-03-13 17:59:28 +0000 |
---|---|---|
committer | Jforrester <jforrester@wikimedia.org> | 2025-03-13 18:02:20 +0000 |
commit | c8427c97981270a7c24e9f00711cc39bda14889e (patch) | |
tree | f535a882c36ccb454e7ef21b4015538f0f5851d2 | |
parent | 953ec56fa2c053fee514468e5710f706ee7c200c (diff) | |
download | mediawikicore-c8427c97981270a7c24e9f00711cc39bda14889e.tar.gz mediawikicore-c8427c97981270a7c24e9f00711cc39bda14889e.zip |
BotPasswordTest: Add a few more test cases provideCanonicalizeLoginData
Bug: T388255
Change-Id: I6e1a6fa8e75f519ccbf3c2bb4de7334f620e2a8e
-rw-r--r-- | tests/phpunit/includes/user/BotPasswordTest.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/phpunit/includes/user/BotPasswordTest.php b/tests/phpunit/includes/user/BotPasswordTest.php index 7e7c0c320877..d077866384ec 100644 --- a/tests/phpunit/includes/user/BotPasswordTest.php +++ b/tests/phpunit/includes/user/BotPasswordTest.php @@ -243,6 +243,10 @@ class BotPasswordTest extends MediaWikiIntegrationTestCase { public static function provideCanonicalizeLoginData() { return [ + // T388255 + [ '', '', false ], + [ 'user', '', false ], + [ '', '12345678901234567890123456789012', false ], [ 'user', 'pass', false ], [ 'user', 'abc@def', false ], [ 'legacy@user', 'pass', false ], |