dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Fix sessionfailure i18n message during authentication"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
auth
/
AbstractPasswordPrimaryAuthenticationProviderTest.php
diff --git
a/tests/phpunit/includes/auth/AbstractPasswordPrimaryAuthenticationProviderTest.php
b/tests/phpunit/includes/auth/AbstractPasswordPrimaryAuthenticationProviderTest.php
index
76d8ee9
..
cb015df
100644
(file)
--- a/
tests/phpunit/includes/auth/AbstractPasswordPrimaryAuthenticationProviderTest.php
+++ b/
tests/phpunit/includes/auth/AbstractPasswordPrimaryAuthenticationProviderTest.php
@@
-33,7
+33,7
@@
class AbstractPasswordPrimaryAuthenticationProviderTest extends \MediaWikiTestCa
$providerPriv = TestingAccessWrapper::newFromObject( $provider );
$obj = $providerPriv->getPasswordFactory();
$providerPriv = TestingAccessWrapper::newFromObject( $provider );
$obj = $providerPriv->getPasswordFactory();
- $this->assertInstanceOf(
'PasswordFactory'
, $obj );
+ $this->assertInstanceOf(
\PasswordFactory::class
, $obj );
$this->assertSame( $obj, $providerPriv->getPasswordFactory() );
}
$this->assertSame( $obj, $providerPriv->getPasswordFactory() );
}
@@
-46,10
+46,10
@@
class AbstractPasswordPrimaryAuthenticationProviderTest extends \MediaWikiTestCa
$providerPriv = TestingAccessWrapper::newFromObject( $provider );
$obj = $providerPriv->getPassword( null );
$providerPriv = TestingAccessWrapper::newFromObject( $provider );
$obj = $providerPriv->getPassword( null );
- $this->assertInstanceOf(
'Password'
, $obj );
+ $this->assertInstanceOf(
\Password::class
, $obj );
$obj = $providerPriv->getPassword( 'invalid' );
$obj = $providerPriv->getPassword( 'invalid' );
- $this->assertInstanceOf(
'Password'
, $obj );
+ $this->assertInstanceOf(
\Password::class
, $obj );
}
public function testGetNewPasswordExpiry() {
}
public function testGetNewPasswordExpiry() {