BotPasswordTest: Add a few more test cases provideCanonicalizeLoginData

Bug: T388255
Change-Id: I6e1a6fa8e75f519ccbf3c2bb4de7334f620e2a8e
(cherry picked from commit c8427c97981270a7c24e9f00711cc39bda14889e)
This commit is contained in:
Reedy 2025-03-13 17:59:28 +00:00
parent 68329e412d
commit 9967167fca

View file

@ -244,6 +244,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 ],