MediaWiki REL1_33
ReCaptchaAuthenticationRequestTest.php
Go to the documentation of this file.
1<?php
2
4
9 protected function getInstance( array $args = [] ) {
11 }
12
13 public function provideLoadFromSubmission() {
14 return [
15 'no challange id' => [ [], [ 'captchaWord' => 'abc' ], false ],
16 'no solution' => [ [], [ 'captchaId' => '123' ], false ],
17 'normal' => [ [], [ 'captchaId' => '123', 'captchaWord' => 'abc' ],
18 [ 'captchaId' => '123', 'captchaWord' => 'abc' ] ],
19 ];
20 }
21}
if( $line===false) $args
Definition cdb.php:64
Authentication request for ReCaptcha v1.
processing should stop and the error should be shown to the user * false
Definition hooks.txt:187
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))