2019-08-08 23:50:09 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* This Software is the property of Data Development and is protected
|
|
|
|
* by copyright law - it is NOT Freeware.
|
|
|
|
*
|
|
|
|
* Any unauthorized use of this software without a valid license
|
|
|
|
* is a violation of the license agreement and will be prosecuted by
|
|
|
|
* civil and criminal law.
|
|
|
|
*
|
|
|
|
* http://www.shopmodule.com
|
|
|
|
*
|
|
|
|
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
|
|
|
* @author D3 Data Development - Daniel Seifert <support@shopmodule.com>
|
|
|
|
* @link http://www.oxidmodule.com
|
|
|
|
*/
|
|
|
|
|
|
|
|
namespace D3\Totp\tests\unit\Modules\Application\Controller;
|
|
|
|
|
|
|
|
use D3\Totp\Modules\Application\Controller\d3_totp_UserController;
|
|
|
|
use D3\Totp\tests\unit\d3TotpUnitTestCase;
|
2019-08-09 08:53:02 +02:00
|
|
|
use OxidEsales\Eshop\Application\Controller\UserController;
|
2019-08-08 23:50:09 +02:00
|
|
|
|
|
|
|
class d3_totp_UserControllerTest extends d3TotpUnitTestCase
|
|
|
|
{
|
|
|
|
use d3_totp_getUserTestTrait;
|
|
|
|
|
|
|
|
/** @var d3_totp_UserController */
|
|
|
|
protected $_oController;
|
|
|
|
|
2019-08-09 08:53:02 +02:00
|
|
|
protected $sControllerClass = UserController::class;
|
2019-08-08 23:50:09 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* setup basic requirements
|
|
|
|
*/
|
|
|
|
public function setUp()
|
|
|
|
{
|
|
|
|
parent::setUp();
|
|
|
|
|
2019-08-09 08:53:02 +02:00
|
|
|
$this->_oController = oxNew(UserController::class);
|
2019-08-08 23:50:09 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
public function tearDown()
|
|
|
|
{
|
|
|
|
parent::tearDown();
|
|
|
|
|
|
|
|
unset($this->_oController);
|
|
|
|
}
|
|
|
|
}
|