miroir de
https://git.d3data.de/3rdParty/captcha-module.git
synchronisé 2025-04-09 15:41:39 +02:00
OXDEV-338 Add test for articleDetails getCaptcha method
Cette révision appartient à :
Parent
112aded810
révision
8ea9c5db5d
16
tests/unit/application/component/widget/oeCaptchaWArticleDetailsTest.php
Fichier normal
16
tests/unit/application/component/widget/oeCaptchaWArticleDetailsTest.php
Fichier normal
@ -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);
|
||||
}
|
||||
}
|
Chargement…
x
Référencer dans un nouveau ticket
Bloquer un utilisateur