Mirror von
https://git.d3data.de/3rdParty/captcha-module.git
synchronisiert 2024-11-24 15:33:11 +01:00
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
Einen Benutzer sperren