Merge "Remove uses of deprecated TestUser properties"
[lhc/web/wiklou.git] / tests / phpunit / includes / user / BotPasswordTest.php
index 1ef5082..cfd5f78 100644 (file)
@@ -290,7 +290,7 @@ class BotPasswordTest extends MediaWikiTestCase {
 
                // Wrong password
                $status = BotPassword::login(
-                       "{$this->testUserName}@BotPassword", $this->testUser->password, new FauxRequest );
+                       "{$this->testUserName}@BotPassword", $this->testUser->getPassword(), new FauxRequest );
                $this->assertEquals( Status::newFatal( 'wrongpassword' ), $status );
 
                // Success!