9 # setMwGlobals() requires $wgCaptchaQuestion to be set
10 if ( !isset(
$GLOBALS[
'wgCaptchaQuestions'] ) ) {
16 [
'QuestyCaptcha' => __DIR__ .
'/../../QuestyCaptcha/QuestyCaptcha.class.php' ]
20 $this->assertEquals( $expected, $qc->getCaptcha() );
28 'question' =>
'FooBar',
29 'answer' =>
'Answer!',
33 'question' =>
'FooBar',
34 'answer' =>
'Answer!',
39 'FooBar' =>
'Answer!',
42 'question' =>
'FooBar',
43 'answer' =>
'Answer!',
$GLOBALS['wgAutoloadClasses']['LocalisationUpdate']
static provideGetCaptcha()
testGetCaptcha( $config, $expected)
QuestyCaptcha::getCaptcha provideGetCaptcha.