MediaWiki
REL1_32
ReCaptchaNoCaptchaAuthenticationRequestTest.php
Go to the documentation of this file.
1
<?php
2
3
use
MediaWiki\Auth\AuthenticationRequestTestCase
;
4
8
class
ReCaptchaNoCaptchaAuthenticationRequestTest
extends
AuthenticationRequestTestCase
{
9
protected
function
getInstance
(
array
$args
= [] ) {
10
return
new
ReCaptchaNoCaptchaAuthenticationRequest
();
11
}
12
13
public
function
provideLoadFromSubmission
() {
14
return
[
15
'no proof'
=> [ [], [],
false
],
16
'normal'
=> [ [], [
'captchaWord'
=>
'abc'
], [
'captchaWord'
=>
'abc'
] ],
17
];
18
}
19
}
$args
if( $line===false) $args
Definition
cdb.php:64
MediaWiki\Auth\AuthenticationRequestTestCase
AuthManager.
Definition
AuthenticationRequestTestCase.php:8
ReCaptchaNoCaptchaAuthenticationRequestTest
ReCaptchaNoCaptchaAuthenticationRequest.
Definition
ReCaptchaNoCaptchaAuthenticationRequestTest.php:8
ReCaptchaNoCaptchaAuthenticationRequestTest\provideLoadFromSubmission
provideLoadFromSubmission()
Definition
ReCaptchaNoCaptchaAuthenticationRequestTest.php:13
ReCaptchaNoCaptchaAuthenticationRequestTest\getInstance
getInstance(array $args=[])
Definition
ReCaptchaNoCaptchaAuthenticationRequestTest.php:9
ReCaptchaNoCaptchaAuthenticationRequest
Authentication request for ReCaptcha v2.
Definition
ReCaptchaNoCaptchaAuthenticationRequest.php:9
false
processing should stop and the error should be shown to the user * false
Definition
hooks.txt:187
array
The wiki should then use memcached to cache various data To use multiple just add more items to the array To increase the weight of a make its entry a array("192.168.0.1:11211", 2))
extensions
ConfirmEdit
tests
phpunit
ReCaptchaNoCaptchaAuthenticationRequestTest.php
Generated on Mon Nov 25 2024 15:56:35 for MediaWiki by
1.10.0