OXDEV-338 Add test for articleDetails getCaptcha method
This commit is contained in:
parent
112aded810
commit
8ea9c5db5d
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
/**
|
||||
* #PHPHEADER_OECAPTCHA_LICENSE_INFORMATION#
|
||||
*/
|
||||
|
||||
require_once __DIR__ . '/../../../CaptchaTestCase.php';
|
||||
|
||||
class oeCaptchaWArticleDetailsTest extends CaptchaTestCase
|
||||
{
|
||||
public function testGetCaptcha()
|
||||
{
|
||||
$articleDetails = oxNew('oxwarticledetails');
|
||||
$captcha = $articleDetails->getCaptcha();
|
||||
$this->assertInstanceOf("oeCaptcha", $captcha);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue