Файловый менеджер - Редактировать - /var/www/html/mediawiki-1.43.1/extensions/ConfirmEdit/tests/phpunit/ReCaptchaNoCaptchaAuthenticationRequestTest.php
Ðазад
<?php use MediaWiki\Extension\ConfirmEdit\ReCaptchaNoCaptcha\ReCaptchaNoCaptchaAuthenticationRequest; use MediaWiki\Tests\Auth\AuthenticationRequestTestCase; /** * @covers \MediaWiki\Extension\ConfirmEdit\ReCaptchaNoCaptcha\ReCaptchaNoCaptchaAuthenticationRequest */ class ReCaptchaNoCaptchaAuthenticationRequestTest extends AuthenticationRequestTestCase { public function setUp(): void { parent::setUp(); $this->mergeMwGlobalArrayValue( 'wgAutoloadClasses', [ 'MediaWiki\\Extension\\ConfirmEdit\\ReCaptchaNoCaptcha\\ReCaptchaNoCaptchaAuthenticationRequest' => __DIR__ . '/../../ReCaptchaNoCaptcha/includes/ReCaptchaNoCaptchaAuthenticationRequest.php' ] ); } protected function getInstance( array $args = [] ) { return new ReCaptchaNoCaptchaAuthenticationRequest(); } public static function provideLoadFromSubmission() { return [ 'no proof' => [ [], [], false ], 'normal' => [ [], [ 'captchaWord' => 'abc' ], [ 'captchaWord' => 'abc' ] ], ]; } }
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка