Merge "Improve docs for Title::getInternalURL/getCanonicalURL"
[lhc/web/wiklou.git] / tests / phpunit / includes / auth / AbstractPasswordPrimaryAuthenticationProviderTest.php
index e67d405..49601cb 100644 (file)
@@ -142,7 +142,7 @@ class AbstractPasswordPrimaryAuthenticationProviderTest extends \MediaWikiTestCa
                $this->assertNull( $manager->getAuthenticationSessionData( 'reset-pass' ) );
 
                $manager->removeAuthenticationSessionData( null );
-               $status = \Status::newGood();
+               $status = \Status::newGood( [ 'suggestChangeOnLogin' => true ] );
                $status->error( 'testing' );
                $providerPriv->setPasswordResetFlag( 'Foo', $status );
                $ret = $manager->getAuthenticationSessionData( 'reset-pass' );