mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-28 10:00:29 +00:00
6a8c53f6d1
No longer needed now that extension unittests are autodiscovered. Bug: T142120 Bug: T142121 Change-Id: I7105170e56c8c3ec3837dd15be869e503bccecde
19 lines
542 B
PHP
19 lines
542 B
PHP
<?php
|
|
|
|
use MediaWiki\Auth\AuthenticationRequestTestCase;
|
|
|
|
require_once __DIR__ . '/../../ReCaptchaNoCaptcha/ReCaptchaNoCaptchaAuthenticationRequest.php';
|
|
|
|
class ReCaptchaNoCaptchaAuthenticationRequestTest extends AuthenticationRequestTestCase {
|
|
protected function getInstance( array $args = [] ) {
|
|
return new ReCaptchaNoCaptchaAuthenticationRequest();
|
|
}
|
|
|
|
public function provideLoadFromSubmission() {
|
|
return [
|
|
'no proof' => [ [], [], false ],
|
|
'normal' => [ [], [ 'captchaWord' => 'abc' ], [ 'captchaWord' => 'abc' ] ],
|
|
];
|
|
}
|
|
}
|