mirror of
https://git.d3data.de/3rdParty/captcha-module.git
synced 2024-11-21 22:23:10 +01:00
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
Block a user