13 [
'QuestyCaptcha' => __DIR__ .
'/../../QuestyCaptcha/QuestyCaptcha.class.php' ]
22 # setMwGlobals() requires $wgCaptchaQuestion to be set
23 if ( !isset(
$GLOBALS[
'wgCaptchaQuestions'] ) ) {
29 $this->assertEquals( $expected, $qc->getCaptcha() );
37 'question' =>
'FooBar',
38 'answer' =>
'Answer!',
42 'question' =>
'FooBar',
43 'answer' =>
'Answer!',
48 'FooBar' =>
'Answer!',
51 'question' =>
'FooBar',
52 'answer' =>
'Answer!',
static provideGetCaptcha()
testGetCaptcha( $config, $expected)
QuestyCaptcha::getCaptcha provideGetCaptcha.