X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fauth%2FCheckBlocksSecondaryAuthenticationProviderTest.php;h=111c855445700ce35eeabd2a28152151a8a9ceb4;hb=3cb14f56bdf3271769a5866f9dcaad56bf873aea;hp=68f574b6b40331dc198f27fab396b629911ed059;hpb=fba48c6dae69b7163580d936095b7dd16c9b3644;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/auth/CheckBlocksSecondaryAuthenticationProviderTest.php b/tests/phpunit/includes/auth/CheckBlocksSecondaryAuthenticationProviderTest.php index 68f574b6b4..111c855445 100644 --- a/tests/phpunit/includes/auth/CheckBlocksSecondaryAuthenticationProviderTest.php +++ b/tests/phpunit/includes/auth/CheckBlocksSecondaryAuthenticationProviderTest.php @@ -2,6 +2,8 @@ namespace MediaWiki\Auth; +use Wikimedia\TestingAccessWrapper; + /** * @group AuthManager * @group Database @@ -10,7 +12,7 @@ namespace MediaWiki\Auth; class CheckBlocksSecondaryAuthenticationProviderTest extends \MediaWikiTestCase { public function testConstructor() { $provider = new CheckBlocksSecondaryAuthenticationProvider(); - $providerPriv = \TestingAccessWrapper::newFromObject( $provider ); + $providerPriv = TestingAccessWrapper::newFromObject( $provider ); $config = new \HashConfig( [ 'BlockDisablesLogin' => false ] ); @@ -20,7 +22,7 @@ class CheckBlocksSecondaryAuthenticationProviderTest extends \MediaWikiTestCase $provider = new CheckBlocksSecondaryAuthenticationProvider( [ 'blockDisablesLogin' => true ] ); - $providerPriv = \TestingAccessWrapper::newFromObject( $provider ); + $providerPriv = TestingAccessWrapper::newFromObject( $provider ); $config = new \HashConfig( [ 'BlockDisablesLogin' => false ] );