BotPasswordTest: Add a few more test cases provideCanonicalizeLoginData
Bug: T388255 Change-Id: I6e1a6fa8e75f519ccbf3c2bb4de7334f620e2a8e (cherry picked from commit c8427c97981270a7c24e9f00711cc39bda14889e)
This commit is contained in:
parent
68329e412d
commit
9967167fca
1 changed files with 4 additions and 0 deletions
|
|
@ -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 ],
|
||||
|
|
|
|||
Loading…
Reference in a new issue