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 "Remove usages of RequestContext::getStats()"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
auth
/
ResetPasswordSecondaryAuthenticationProviderTest.php
diff --git
a/tests/phpunit/includes/auth/ResetPasswordSecondaryAuthenticationProviderTest.php
b/tests/phpunit/includes/auth/ResetPasswordSecondaryAuthenticationProviderTest.php
index
90ed542
..
f454a96
100644
(file)
--- a/
tests/phpunit/includes/auth/ResetPasswordSecondaryAuthenticationProviderTest.php
+++ b/
tests/phpunit/includes/auth/ResetPasswordSecondaryAuthenticationProviderTest.php
@@
-2,6
+2,8
@@
namespace MediaWiki\Auth;
namespace MediaWiki\Auth;
+use Wikimedia\TestingAccessWrapper;
+
/**
* @group AuthManager
* @covers MediaWiki\Auth\ResetPasswordSecondaryAuthenticationProvider
/**
* @group AuthManager
* @covers MediaWiki\Auth\ResetPasswordSecondaryAuthenticationProvider
@@
-85,7
+87,7
@@
class ResetPasswordSecondaryAuthenticationProviderTest extends \MediaWikiTestCas
] );
$manager = new AuthManager( new \FauxRequest, $config );
$provider->setManager( $manager );
] );
$manager = new AuthManager( new \FauxRequest, $config );
$provider->setManager( $manager );
- $provider =
\
TestingAccessWrapper::newFromObject( $provider );
+ $provider = TestingAccessWrapper::newFromObject( $provider );
$msg = wfMessage( 'foo' );
$skipReq = new ButtonAuthenticationRequest(
$msg = wfMessage( 'foo' );
$skipReq = new ButtonAuthenticationRequest(