OXDEV-338 Add test for articleDetails getCaptcha method
Dieser Commit ist enthalten in:
Ursprung
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);
|
||||||
|
}
|
||||||
|
}
|
Laden…
In neuem Issue referenzieren