public testAddReCaptchaEmpty ( ) : void | ||
return | void |
public function testAddReCaptchaEmpty()
{
$result = $this->User->addReCaptcha();
$expected = '<p>reCaptcha is not configured! Please configure Users.reCaptcha.key</p>';
$this->assertEquals($expected, $result);
}